Sign in Join
FPDoc Onlineexperiment

TMergedMenuItems class

In unit Menus

Implements a container for menu items merged into a parent menu or menu item.

Declaration

pascal
TMergedMenuItems = class

Description

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

VisibleCountpublicNumber of visible menu items in the internal list.
VisibleItemspublicProvides indexed access to the visible menu items in the list of merged menu items.
InvisibleCountpublicNumber of invisible (hidden) menu items in the internal list.
InvisibleItemspublicProvides indexed access to the invisible (hidden) menu items in the list of merged menu items.

Methods

CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
DefaultSortpublicImplements the default sort routine for merged menu items.

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