FMX.Types.TCanActionExecEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TCanActionExecEvent)(Fmx::Actnlist::TCustomAction* Sender, bool &CanExec);

Properties

Type Visibility Source Unit Parent
typedef public FMX.Types.hpp FMX.Types FMX.Types

Description

The method pointer type used to define FMX.StdActns.TSysCommonAction.OnCanActionExec event handlers for actions.

The event handlers of the TCanActionExecEvent type have the following parameters:

Parameter Description
Sender The instance of the action that fired the event.
CanExec The user reaction--whether he wants to execute the action.

See Also