[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'ActnList' (#lcl)

TContainedAction.Execute

Executes the action using a available OnExecute event handler.

Declaration

Source position: actnlist.pas line 45

public function TContainedAction.Execute: Boolean; override;

Function result

True if the action was executed using one of the available execution options.

Description

Execute is an overridden method in TContainedAction. It checks for an available OnExecute event handlers in ActionList, the Application singleton, and the class instance. If an OnExecute event handler is not found, it posts a CM_ACTIONEXECUTE control message to the application.

See also

TCustomActionList.ExecuteAction

  

Examines and executes the specified Action.

TApplication

  

Application management and configuration for a GUI application.

SendApplicationMessage

  

Sends an application message using the specified parameter values.

TComponent.ExecuteAction

TBasicAction.Execute


Version 3.2 Generated 2024-02-25 Home