MNUBAR (Menu Bar) Keyword for Display Files

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.

Note:
If *NOSEPARATOR is specified, the MNUBARSEP keyword may not be specified on this record.

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
PRINT
PROTECT
ROLLUP/ROLLDOWN
TEXT
UNLOCK
VLDCMDKEY
Note:
These keywords are ignored on the menu-bar record if the menu-bar record is displayed by the system (for example, if MNUBARDSP is specified on a record other than this menu-bar record).

Option indicators are not valid for this keyword.