LINE STATEMENT IN MENU LAYOUTS

LINE draws either a horizontal line or a vertical line in the menu.  The statement can be repeated for drawing more lines in the menu.

SYNTAX

/[LINE start_row start_column end_row end_column rendition]...

start_row

is an integer constant that specifies the row position where the line begins in the menu.

start_column

is an integer constant that specifies the column position where the line begins in the menu.

end_row

is an integer constant that specifies the row position where the line ends in the menu.

end_column

is an integer constant that specifies the column position where the line ends in the menu.

rendition

specifies the video attributes for the line.  More than one video attribute may be specified by separating the attribute with plus signs.

 

The valid video attributes are:

  • @NORMAL specifies normal video attribute.  [default setting]
  • @BLINK specifies blinking video attribute.
  • @BOLD specifies bold face video attribute.
  • @REVERSE specifies reverse video attribute.
  • @UNDERLINE specifies underlining video attribute.

EXAMPLE

/LINE 7 1 7 40 @NORMAL

This example draws a horizontal line (on row 7) which is 40 columns long (from column 1 to column 40) in the menu.  The video attribute for the line is normal.

Message Statement in Menu Layouts    Rectangle Statement in Menu Layouts