MNUBAR (Menu Bar) Keyword for Display Files--Example

Figure 202 shows how to specify the MNUBAR keyword.

Figure 202. Specifying the MNUBAR Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A          R RECORD1                   MNUBAR
A            MNUFLD         2Y 0I  1  2
A                                      MNUBARCHC(1 RCDFILE 'File')
A                                      MNUBARCHC(2 RCDEDIT 'Edit')
A                                      MNUBARCHC(3 RCDVIEW 'View')
A                                      MNUBARCHC(4 RCDOPT 'Options')
A                                      MNUBARCHC(5 RCDHELP 'Help')
A                                      :
A                                      :
A

In this example, RECORD1 is defined as a menu-bar record. When RECORD1 is displayed, the menu-bar choices defined on the field MNUFLD are displayed as a menu bar. The menu-bar choices are followed by a separator line. On character-based displays, the separator line is made up of blue dashes. On a graphical display attached to a controller that supports an enhanced interface for nonprogrammable work stations, the separator line is a solid line.