RAD Studio VCL Reference
TCustomActionList.ExecuteAction Method

Generates an OnExecute event.

function ExecuteAction(Action: TBasicAction): Boolean; override;
virtual __fastcall Boolean ExecuteAction(TBasicAction Action);

Typically, applications do not call the ExecuteAction method. Instead, the action indicated by the Action parameter calls ExecuteAction in response to a user command. It is possible, however, to call ExecuteAction to generate an OnExecute event even though no client control has been triggered. 

ExecuteAction invokes the OnExecute event handler for the action list. It returns true if the event handler handles the action, false otherwise. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!