TBasicActionLink.Execute function
Calls the action's Execute method.
Declaration
function Execute(AComponent: TComponent=Nil): Boolean; virtualDescription
Execute sets the
ActionComponent
property of the associated
Action to
AComponent and then calls the Action's
execute method. After the action has
executed, the
ActionComponent property is cleared again.
The return value of the function is the return value of the Action's execute method.
Application programmers should never call Execute directly. This
method will be called automatically when the associated control is
activated. (e.g. a button is clicked on)
Component programmers should call Execute whenever the action
should be activated.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
