[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Calls the action's Execute method.
Source position: classesh.inc line 1392
public function TBasicActionLink.Execute( |
AComponent: TComponent = nil |
):Boolean; virtual; |
Executesets the ActionComponentproperty of the associated Actionto AComponentand then calls the Action's executemethod. After the action has executed, the ActionComponentproperty is cleared again.
The return value of the function is the return value of the Action's execute method.
Application programmers should never call Executedirectly. This method will be called automatically when the associated control is activated. (e.g. a button is clicked on)
Component programmers should call Executewhenever the action should be activated.
|
The action to which the link was assigned. |
|
|
Returns the component that initiated the action. |
|
|
Triggers the OnExecuteevent |
|
|
Event triggered when the action executes. |