Menu Components

You can simplify the definition of long menus by creating and re-using menu components. Creating such components does not differ from creating regular menu objects. Every menu can also be a menu component. A component is used in a superordinate menu with the help of a component placeholder. As a result the superordinate menu is extended by the items of the component.

Note! The nesting depth of menu components is limited to ten levels in order to prevent infinite loops.

How to define and use menu components:

  1. Create a regular menu with items which you want to re-use as a component.

  2. Create a component placeholder with the name @MENUNAME and any item text (it is of no importance) in the item master.

    The component placeholder is a special item object. It is sufficient to create it once. You will then be able to use it whenever you want to insert menu components.

  3. Insert the component placeholder into the menu-item relation of the superordinate menu, enter the name of the menu component in the relation attribute field Parameter and specify the position of the component in the Sequence field.

If you reconfigure a menu component in local memory, DataView will automatically all menus in main memory which the component (also indirectly) is assigned to. Thus, superordinate objects alsready loaded into main memory do not have to be explicitly reconfigured.