Vcl.ActnMenus.TExitMenuEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TExitMenuEvent)(TCustomActionMenuBar* Sender, bool Cancelled);

Properties

Type Visibility Source Unit Parent
typedef public Vcl.ActnMenus.hpp Vcl.ActnMenus Vcl.ActnMenus

Description

TExitMenuEvent is the type of the OnExitMenuLoop event handler of an action menu.

TExitMenuEvent lets you indicate whether the menu loop is canceled.

Sender is the control panel application object.

Cancelled returns True if the menu loop should be canceled.

See Also