Classes.TComponent.ExecuteAction

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Classes.pas

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


Unit: Classes

Type: method

Visibility: public

Member Of: TComponent

C++ Information

From Classes.hpp

	dynamic virtual bool __fastcall ExecuteAction(Classes::TBasicAction * Action);


Unit: Classes

Type: method

Visibility: public

Member Of: TComponent

Description

Executes an action.


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

ExecuteAction first checks if 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

Personal tools
Translations
Newest Version