[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs actions needed when the specified menu item has been changed.
Source position: menus.pp line 392
protected procedure TMenu.DoChange( |
Source: TMenuItem; |
Rebuild: Boolean |
); virtual; |
Source |
|
Menu item where the change occurred. |
Rebuild |
|
True to rebuild the child menu items. |
DoChange is a method used to perform actions need when the menu item in Source has been changed. The Rebuild parameter indicates that the hierarchy of child menu items in Source should be reconstructed.
DoChange signals the OnChange event handler (when assigned) using the menu instance, Source, and Rebuild as arguments.
DoChange is called from the MenuChanged method.
|
Event handler signalled when a menu item in Items has been changed. |
|
|
Implements the OnChange event handler assigned to menu items in the menu. |
|
|
Represents a menu item displayed in a menu. |
Version 4.0 | Generated 2025-05-03 | Home |