Progress
Language Tutorial
for Windows
Defining a Menu Bar
Once you’ve defined the contents of each submenu, you need to define a menu bar and associate the submenus to it. The DEFINE MENU statement defines a menu, and the MENUBAR phrase makes the menu a menu bar. This is the syntax for the DEFINE MENU statement.
Table 11–3 explains the relevant components of the syntax.
This is an example of a complete DEFINE MENU statement:
First, the DEFINE MENU statement creates the menu bar and names it mbar. Then it assigns each of the previously defined submenus to it. The LABEL option once again lets you provide titles for the menu items. The order in which you list the submenus is important—Progress places the menu titles of the submenus on the menu bar starting with the first listed submenu.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |