FMX.Types.TCanActionExecEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TCanActionExecEvent = procedure(Sender: TCustomAction; var CanExec: Boolean) of object;

C++

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

Properties

Type Visibility Source Unit Parent
type
typedef
public
FMX.Types.pas
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