TMenu.DoChange procedure
Performs actions needed when the specified menu item has been changed.
Declaration
procedure DoChange(Source: TMenuItem; Rebuild: Boolean); virtualArguments
Source | Menu item where the change occurred. |
Rebuild | True to rebuild the child menu items. |
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
