Pull Down Menus at the Top Menu

Pull down menus are sub-menus at the items of top menus. The items in pull down menus can be absolutely freely defined, but will usually used to call lists and forms, further sub-menus, or object-independent procedures.

A menu becomes a pull down menu if it is called at the superordinate top menu item with the macro @NEXT. The corresponding parameter is the pull down menu name.


Dynamic Pull Down Menus

Dynamic pull down menus are special sub-menus to be called at the MS-compatible top menu items Edit, Window, and View. The following menu names are reserved for dynamic pull down menus:

Top Menu Item Pull Down Menu Name Comment
Edit* TOP@MAS Dynamic Edit menu.
It automatically displays the context menu items (Select-, NoSelect-, Edit Menu) of the currently active mask.
The menu can be customized and extended by 'static' items.
Window WINDOW Dynamic window menu.
It automatically displays the titles of all open masks. The title of the currently active mask is selected.
additionally the menu contains static items to arrange windows or icons and to close windows.
The menu belongs to the user SYSTEM and cannot be customized.
View** VIEWBAR Dynamic view menu.
It automatically displays the titles of all toolbars. The titles of the currently invisible toolbar are selected.
The menu belongs to the user SYSTEM and cannot be customized.
VIEWWIN Dynamic view menu.
It automatically displays all windows that can be docked (browser window, message window). The titles of the currently visible windows are selected.
The menu belongs to the user SYSTEM and cannot be customized.


*About the Edit Menu

The menu must contain at least one "static" item. Else DataView cannot create the dynamic context menu items. Two possible ways of creations exist:

Edit menu with context menu items only:
In this case you create a "static" dummy-item for the TOP@MAS menu (e.g item text = -, no userexit, no parameter) and lock access to the item for all users (entry n in the Access field of the item master).

Edit menu contains additional "static" items:
In this case you create the desired "static" item for the TOP@MAS menu. No additional dummy item is required.


**About the View Menu

Because two separate pull down menus are available for the View item, you will either have to insert as sub-menu (for instance with the items Toolbars, Window) or alternatively create two top menu items (for instance View 1, View 2).