FMX.Forms.TApplication.ExecuteAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TApplication

Description

Executes an action.

FMX.Forms.TApplication.ExecuteAction inherits from System.Classes.TComponent.ExecuteAction. All content below this line refers to System.Classes.TComponent.ExecuteAction.

Executes an action.

ExecuteAction executes an action for the component. Action is a TBasicAction or any descendant of TBasicAction.

ExecuteAction first checks whether the provided action is compatible with the component and then executes the action. The return value is a Boolean. A value of True is returned if the action was executed; otherwise, False is returned.

Derived classes can override this method to implement a distinct way of handling actions.

See Also