[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Examines and executes the specified Action.
Source position: actnlist.pas line 107
public function TCustomActionList.ExecuteAction( |
Action: TBasicAction |
):Boolean; override; |
Action |
|
Action examined and potentially executed in the method. |
True if the specified action can be executed for the target component.
ExecuteAction is an overridden Boolean function in TCustomActionList. ExecuteAction is used to determine whether the specified Action is supported for a given component and was successfully executed.
ExecuteAction re-implements the method from the ancestor class (TComponent) to signal the OnExecute event handler to examine and potentially execute the specified Action. The return value indicates whether the action was successfully executed. The default return value is False, and indicates the following:
An application must implement and assign a handler routine to OnExecute which sets the return value and calls ExecuteTarget when the ActionComponent is a supported target for the action.
Version 4.0 | Generated 2025-05-03 | Home |