RAD Studio VCL Reference
TComponent.ExecuteAction Method

Executes an action.

function ExecuteAction(Action: TBasicAction): Boolean; dynamic;
__fastcall Boolean ExecuteAction(TBasicAction Action);

ExecuteAction executes an action for the component. Action is a TBasicAction or any descendant of TBasicAction.  

ExecuteAction first checks if 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. 


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