In DataView you create each menu according to an identical scheme:
For creating and managing all menus and items the following system forms are available:
Note! Because you also create button areas and buttons in the system forms, you should select a syntax for menu- and item names which allows you to differentiate between both groups of objects.
How to create a menu containing items:
Please observe the following comments when entering the menu master attributes:
Note! Using this method you create new item objects and the relation to the menu you just created in one single step. You can also take a different approach. You first create the items in the item data form and only then create the relation to the menu in the menu data form, item assignment sub-list.
Please observe the following comments when entering the item master attributes (displayed in red in DataView):
Please observe the following comments when entering the menu-item relation attributes:
After storing all newly created items are logically defined and the relations to the menu in the header form are created. You can also assign the items to other menus later.
DataView creates the menu and copies it into main memory. It is available as an interaction object on the user interface.
Newly created items in the top menu can be immediately seen. Other menus must first be linked to a superordinate object in one of the following three steps, before you can see them on the user interface.
How to link the menu with a mask (create context menu for mask):
Mask menus are linked to the states of the mask object. Detailed information can be found in the section -> mask menus.
How to link the menu with a field (create field selection menu):
Field selection menus are not directly linked to a field object, but with the mask-field relation. Detailed information can be found in the section -> Field Selection Menus.
Field | Comments |
Menu Type |
M -> regular menu C -> choice box L. -> list box |
How to link the menu with the item of a superordinate menu (create sub-menu):
Sub-menus are called with the function call @NEXT at the item of a superordinate menu. Detailed information can be found in the section -> Sub-Menus.
Note! For an efficient creation of sub-menus the Select menu of the Item Assignment sub-list contains the Shift function. It displays the sub-menu entered in the Parameter field in a new Menu Data form if it already exists. You can immediately edit it or create a new one.