Vcl.ActnMenus.TExitMenuEvent
Delphi
TExitMenuEvent = procedure(Sender: TCustomActionMenuBar; Cancelled: Boolean) of object;
C++
typedef void __fastcall (__closure *TExitMenuEvent)(TCustomActionMenuBar* Sender, bool Cancelled);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
type typedef |
public | Vcl.ActnMenus.pas 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.