TMenuItem.MenuChanged procedure
Signals the OnChange event handler (when assigned) and optionally rebuilds child menu items.
Declaration
procedure MenuChanged(Rebuild: Boolean)Arguments
Rebuild | True to rebuild the child menu items. |
Description
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.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
