TMergedMenuItems class
Implements a container for menu items merged into a parent menu or menu item.
Declaration
TMergedMenuItems = classDescription
TMergedMenuItems provides an internal array for visible and hidden
menu items stored in the container. The array has two (2) elements; one for
visible menu items, the other for hidden menu items. Each element is a
TList instance where the corresponding
TMenuItem
instances are stored.
Use the indexed VisibleItems and InvisibleItems
properties to access values stored in the container.
TMergedMenuItems is the type used for the MergedItems property in TMenuItem.
See also
Properties
VisibleCount | public | Number of visible menu items in the internal list. |
VisibleItems | public | Provides indexed access to the visible menu items in the list of merged menu items. |
InvisibleCount | public | Number of invisible (hidden) menu items in the internal list. |
InvisibleItems | public | Provides indexed access to the invisible (hidden) menu items in the list of merged menu items. |
Methods
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
DefaultSort | public | Implements the default sort routine for merged menu items. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
