Sign in Join
FPDoc Onlineexperiment

TContainedAction.Execute function

Member of TContainedActionpublicIn unit ActnList

Executes the action using a available OnExecute event handler.

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.