RAD Studio VCL Reference
|
Executes an action with the DB grid as its target.
function ExecuteAction(Action: TBasicAction): Boolean; override;
virtual __fastcall Boolean ExecuteAction(TBasicAction Action);
ExecuteAction is called automatically when the user invokes an action with the DB grid as its target. The Action parameter specifies the action that was invoked. ExecuteAction returns a boolean value indicating whether the action was successfully executed.
ExecuteAction first calls the inherited method, which checks whether the action knows how to execute with the grid as a target. If this does not successfully dispatch the action, ExecuteAction attempts to invoke the action with the grid's associated dataset as a target.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|