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

TApplication.ExecuteAction

Signals the OnActionExecute handler (when assigned).

Declaration

Source position: forms.pp line 1523

public function TApplication.ExecuteAction(

  ExeAction: TBasicAction

):Boolean; override;

Arguments

ExeAction

  

The Action to execute in the event handler.

Function result

True when the Action was handled in the event handler.

Description

ExecuteAction is an overridden Boolean function used to signal the OnActionExecute (when assigned) using ExeAction as the action executed in the event handler. It sets the default value for the Handled argument to the event handler to False. The argument can be updated in the event handler, and is used as the return value for the method.

ExecuteAction re-implements the method defined in the ancestor, and does not call the inherited method.

See also

TComponent.ExecuteAction