MENU specifies the dimensions of the menu, placement of the menu on the screen, and the default rendition of the menu.
/MENU row column number_of_rows number_of_columns rendition [KEEP]
row | is an integer constant that specifies the row position where the top left corner of the menu should be displayed on the screen. |
column | is an integer constant that specifies the column position where the top left corner of the menu should be displayed on the screen. |
number_of_rows | is an integer constant that specifies the number of rows in the menu. |
number_of_columns | is an integer constant that specifies the number of columns in the menu. |
rendition | specifies the video attributes for the menu. More than one video attribute may be specified by separating the attributes with plus signs. |
|
The
valid video attributes are:
|
KEEP | retains the window on the screen after the statement is executed. This saves from having to paste the window before the next MENU/FILL statement. It avoid the process of paint/clear/repaint. |
/MENU 5 8 10 40 @NORMAL
When the menu is displayed on the screen, the top left corner of the menu should be at row 5 and column 8 of the screen. The size of the menu is 10 rows by 40 columns with a normal rendition.