[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements a container for menu items merged into a parent menu or menu item.
Source position: menus.pp line 120
type TMergedMenuItems = class |
||
public |
||
constructor Create(); |
|
Constructor for the class instance. |
destructor Destroy; override; |
|
Destructor for the class instance. |
class function DefaultSort(); |
|
Implements the default sort routine for merged menu items. |
property VisibleCount: Integer; [r] |
|
Number of visible menu items in the internal list. |
property VisibleItems []: TMenuItem; [r] |
|
Provides indexed access to the visible menu items in the list of merged menu items. |
property InvisibleCount: Integer; [r] |
|
Number of invisible (hidden) menu items in the internal list. |
property InvisibleItems []: TMenuItem; [r] |
|
Provides indexed access to the invisible (hidden) menu items in the list of merged menu items. |
end; |
|
Implements a container for menu items merged into a parent menu or menu item. |
|
| | ||
TObject |
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.
|
Returns the visible and invisible child items taking the merged menu into account. |
|
|
Merges menu items from the specified main menu instance. |
Version 3.2 | Generated 2024-02-25 | Home |