RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataLink.ExecuteAction Method

Invokes an action with the datasource as its target.

Pascal
function ExecuteAction(Action: TBasicAction): Boolean; dynamic;
C++
__fastcall Boolean ExecuteAction(TBasicAction Action);

ExecuteAction is called automatically when the user invokes an action with the Owner as a target. The Action parameter specifies the action that was invoked. ExecuteAction checks whether the associated datasource can handle the action, and if so, forwards the action to the datasource.  

ExecuteAction returns true if the action was successfully dispatched, and false if the TDataLink could not handle the action. 

 

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