Vcl.Menus.TMenu.OnChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnChange: TMenuChangeEvent read FOnChange write FOnChange;

C++

__property TMenuChangeEvent OnChange = {read=FOnChange, write=FOnChange};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TMenu

Description

Occurs when the menu changes.

Write an OnChange event handler to respond to changes in the menu's structure. OnChange occurs when the menu is loaded into memory, and in response to property changes that affect the menu's structure.

See Also