Use this record-level keyword to define a menu bar. A menu bar is a horizontal list of choices that is followed by an optional separator line. The choices represent groups of related actions that the application user can select. For example, a group of actions appears in a pull-down menu when the user selects a menu-bar choice. A menu-bar record contains a field with one or more MNUBARCHC keywords that define the menu-bar choices. The separator line is generated by the system.
The format of the keyword is:
MNUBAR([*SEPARATOR | *NOSEPARATOR])
The parameter is optional and specifies whether a separator line should be placed below the last line of the menu-bar choices. *SEPARATOR indicates that a menu-bar separator line should be placed after the last line of the menu-bar choices. *NOSEPARATOR indicates that a menu-bar separator line should not be displayed. The default is *SEPARATOR.
A record with the MNUBAR keyword specified must contain one and only one menu bar field (a field with one or more MNUBARCHC keywords), and cannot contain any displayable fields other than the menu bar field.
The following keywords are allowed on a record containing the MNUBAR
keyword:
CAnn CFnn CLEAR CLRL CSRLOC DSPMOD HELP HLPCLR HLPCMDKEY HLPRTN |
HLPTITLE HOME INDTXT INVITE KEEP LOCK MNUBARDSP MNUBARSEP MNUBARSW |
MNUCNL OVERLAY PAGEDOWN/PAGEUP PROTECT ROLLUP/ROLLDOWN TEXT UNLOCK VLDCMDKEY |
Option indicators are not valid for this keyword.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.