[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Executes the action using an available OnExecute event handler.
Source position: actnlist.pas line 198
public function TCustomAction.Execute: Boolean; override; |
True if action is to be performed.
Execute is an overridden method in TCustomAction. It checks the State for the ActionList to ensure that it is not suspended. No actions are performed in the method when ActionList.State contains a value other than asNormal.
Execute calls Update to signal an available OnUpdate event handler in the ActionList, the Application singleton, or the class instance. It toggles the value in the Checked property when AutoCheck is enabled. The inherited Execute method is called when the class instance is Enabled.
The return value is True if the action was executed in the method.
|
Executes the action using a available OnExecute event handler. |
|
Version 4.0 | Generated 2025-05-03 | Home |