In addition to top button areas (toolbar), the top menu is the entry for the users of your application. It can be freely positioned on the desktop and can be freely docked. In contrast to the items of all other menus, the items of the top menu are always situated next to each other.
In order to guarantee Microsoft compatibility, the macro @NEXT can only call pull-down menus at top menu items. Calling userexits is not possible.
If you did not create any user-specific top menus, your application will start using the default top menu irrespective of the current user. A menu is used as the default top menu if you use the menu name TOP.
You can create an individual top menu for each user of your application. The names for these top menus can be user-specifically defined using the default variable TOPMENU in the Default Data list. However, the default menu name TOP for the user GLOBAL should not be changed. Thus you make sure that users without any individual top menu always get the default top menu.
As an alternative for the TOPMENU environment variable you can create new default variables for specifying user-specific top menu names, e.g. TOPMENU 1. This results in sets of user-specific top menus. In the DataView starting procedure or in a user login script you can then control via the system default variable DATAVIEW_MENU, which set the application starts with. If you do not set the variable, TOPMENU is the default setting.