System.Actions.TContainedActionList.ExecuteAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ExecuteAction(Action: TBasicAction): Boolean; override;

C++

DYNAMIC bool __fastcall ExecuteAction(System::Classes::TBasicAction* Action);

Properties

Type Visibility Source Unit Parent
function public
System.Actions.pas
System.Actions.hpp
System.Actions TContainedActionList

Description

Generates an OnExecute event.

Typically, applications do not call the ExecuteAction method. Instead, the action indicated by the Action parameter calls ExecuteAction in response to a user command. It is possible, however, to call ExecuteAction to generate an OnExecute event even though no client control has been triggered.

ExecuteAction invokes the OnExecute event handler for the action list. It returns True if the event handler handles the action, False otherwise.

See Also