Menu itemsΒΆ
menuitem item_id {clauses}
This clause is used at menu level to define items, and at item or subitem level to define subitems.
Menu level |
Defines an item on the menu. At least one item must be defined. The item_id is the identifier by which this menu item is subsequently referenced in the program code. This is not necessarily the same name as the item bears for on-screen display - that name is defined in the label = clause attached to the menu item. The usual identifier naming rules apply. |
Item or subitem level |
Defines a subitem. Any item or subitem with at least one menuitem clause becomes a parent item, which opens up a submenu when selected. The item_id is the identifier by which this subitem is subsequently referenced in the program code. All menu item clauses listed are then available for the subitem |
RELATED TOPICS |