TTMSFNCMenuItems Class
Ordered collection of TTMSFNCMenuItem data items for a popup menu or a sub-menu.
API unit family: TMSFNCPopupMenu
Inherits from: TTMSFNCOwnedCollection
Syntax
TTMSFNCMenuItems = class(TTMSFNCOwnedCollection)
Properties
| Name | Description |
|---|---|
| Items | Returns the menu item at the specified zero-based index. |
Methods
| Name | Description |
|---|---|
| Add | Appends a new menu item and returns it. |
| AddMenuItem | Appends a new item with the specified text and type and returns it. |
| AddMenuSeparatorItem | Appends a separator item and returns it. |
| Insert | Inserts a new menu item at the specified zero-based position and returns it. |