Previous Topic: Menu Control Statements

Next Topic: SUBMENU Statement


MENU Statement

The MENU keyword assigns a name to the set of submenus designated to appear on the menu bar.

MENU=MenuName , 
SUBMENU= SubmenuName   [, 
SUBMENU= SubmenuName]  [,
… 
SUBMENU= SubmenuName]
MenuName

Identifies the unique name assigned to the menu.

SubmenuName

Identifies the internal name of the submenu to be included in the menu bar. SubmenuName refers to the corresponding SUBMENU statement(s), specified in the menu definitions file, that define each menu option appearing in the submenu.

Note: Place commas after each line in the statement except the last one. See the following example of the MENU statement.

Example:

The following MENU statement defines the menu for the Merged Msg function window.

MENU        =  mergedmsg,
   SUBMENU  =  action,
   SUBMENU  =  window,
   SUBMENU  =  edit,
   SUBMENU  =  cmdbox,
   SUBMENU  =  help