API:Vcl.DBCGrids.TDBCtrlGrid.ExecuteAction
Delphi
function ExecuteAction(Action: TBasicAction): Boolean; override;
C++
DYNAMIC bool __fastcall ExecuteAction(System::Classes::TBasicAction* Action);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.DbCGrids.pas Vcl.DBCGrids.hpp |
Vcl.DBCGrids | TDBCtrlGrid |
Description
Executes an action.
Vcl.DBCGrids.TDBCtrlGrid.ExecuteAction inherits from System.Classes.TComponent.ExecuteAction. All content below this line refers to System.Classes.TComponent.ExecuteAction.
Executes an action.
ExecuteAction executes an action for the component. Action is a TBasicAction or any descendant of TBasicAction.
ExecuteAction first checks whether the provided action is compatible with the component and then executes the action. The return value is a Boolean. A value of True is returned if the action was executed; otherwise, False is returned.
Derived classes can override this method to implement a distinct way of handling actions.