[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Signals the OnChange event handler (when assigned) and optionally rebuilds child menu items.
Source position: menus.pp line 239
protected procedure TMenuItem.MenuChanged( |
Rebuild: Boolean |
); |
Rebuild |
|
True to rebuild the child menu items. |
MenuChanged is a method used to perform actions needed when values in a menu item have been changed.
MenuChanged signals the OnChange event handler (when assigned) and optionally rebuilds the child menu items list. Arguments passed to the event handler identify the menu item for the notification, the menu item that owns the changed item or Nil when it is a TMenu instance, and the value in the Rebuild parameter.
MenuChanged is called from methods which modify property values like: Enabled, Bitmap, and ImageIndex. It is also called from methods that modify the values in in the Items property, including: Insert and Delete.
Version 3.2 | Generated 2024-02-25 | Home |