Sign in Join
FPDoc Onlineexperiment

TMainMenu.Merge procedure

Member of TMainMenupublicIn unit Menus

Merges menu items from the specified main menu instance.

Declaration

pascal
procedure Merge(Menu: TMainMenu)

Arguments

Menu

Main menu merged into the current class instance.

Description

Merge is a method used to merge the menu items from the specified Menu into the Items for the current class instance. When Menu contains a non- Nil value, the MergeWith method in Items is called using the Items in the current class instance as the target. When Menu has not been assigned, the MergeWith method in Items is called using Nil as the target.

Use Unmerge to remove merge menu items from a specified menu instance.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.