Progress
Programming
Handbook
Nested Submenus
When the user selects a menu item assigned with nested submenus, a pull-down submenu appears next to it. Although your pull-down and pop-up menus can contain many levels of nested submenus, you should limit them to three or less. Multiple levels of nested submenus tend to clutter up the screen and can make it difficult for the user to access menu items.
The following screen shows a nested submenu. When you select the Add item (in the pull-down menu of Edit), you can, while holding down the mouse SELECT button, pull another submenu to the side. On Windows, submenus appear automatically as you drag down in the containing menu.
![]()
The following code fragment defines the menus shown in the previous screen. The code defines a menu bar, mybar, that contains three submenus: myfile, mycolors, and myedit. The submenu mycolors (1) is nested within the myedit submenu (2).
![]()
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |