[Overview][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TDataSetAction is the base class for all other standard TDataSet actions.
Source position: dbactns.pp line 27
type TDataSetAction = class(TAction) |
||
protected |
||
procedure Notification(); override; |
|
Performs a notification when the datasource for the component is removed. |
function GetDataSet(); virtual; |
|
Gets the Dataset assigned to the specified target datasource. |
public |
||
function HandlesTarget(); override; |
|
Indicates if the action is handled for the specified target. |
property DataSource: TDataSource; [rw] |
|
DataSource with the dataset for the action. |
end; |
|
TDataSetAction is the base class for all other standard TDataSet actions. |
|
| | ||
|
TAction is the basic action object used in the LCL. |
|
| | ||
|
TCustomAction is the ancestor class for TAction. |
|
| | ||
|
Implements an Action class which has a category and parent action list. |
|
| | ||
| | ||
| | ||
| | ||
TDataSetAction is a TAction descendant that is the base class for all other standard TDataSet actions. TDataSetAction provides properties and methods which enables an action to be applied to a DataSource and its associated dataset.
TDataSetAction provides an overridden Notification method to perform component notifications when the DataSource is removed for the action. A virtual GetDataSet method is implemented to ensure that a DataSource is cast to a TDataSource class instance prior to accessing its dataset. The HandlesTarget method is overridden to determine if the class includes both a valid datasource and a dataset for a specified target.
Applications do not use instances of TDataSetAction; use one of the descendent classes that perform a specific action for a dataset.
|
TDataSetFirst moves to first record in the DataSet. |
|
|
TDataSetLast moves to last record in the DataSet. |
|
|
TDataSetNext moves to next record in the DataSet. |
|
|
TDataSetPrior moves to previous record in the DataSet. |
|
|
TDataSetRefresh refreshes the DataSet. |
|
|
TDataSetCancel cancels the current edit mode for a DataSet. |
|
|
TDataSetDelete deletes the current record in the DataSet. |
|
|
TDataSetEdit edits the current record in the DataSet. |
|
|
TDataSetInsert inserts (appends) a new record into the DataSet. |
|
|
TDataSetPost posts changes for the current record to the DataSet. |
|
|
TAction is the basic action object used in the LCL. |
Version 3.2 | Generated 2024-02-25 | Home |