Vcl.Menus.TMenuChangeEvent
Delphi
TMenuChangeEvent = procedure (Sender: TObject; Source: TMenuItem; Rebuild: Boolean) of object;
C++
typedef void __fastcall (__closure *TMenuChangeEvent)(System::TObject* Sender, TMenuItem* Source, bool Rebuild);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | Vcl.Menus |
Description
Defines the type for event handlers that occur when the menu changes.
Use TMenuChangeEvent for event handlers that occur when an item from the menu changes.
Rebuild parameter is set to True when a menu change requires to rebuild menu.