System.Classes.TActionEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TActionEvent = procedure(Action: TBasicAction; var Handled: Boolean) of object;

C++

typedef void __fastcall (__closure *TActionEvent)(TBasicAction* Action, bool &Handled);

Properties

Type Visibility Source Unit Parent
type
typedef
public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

TActionEvent is the method pointer type used to define updating and execution events of actions.

Event handlers of the TActionEvent type have the following parameters:

Parameter Description
Action

Specifies the action to which the event is triggered.

Handled

Returns the result of the event handler execution.

See Also