RECTANGLE STATEMENT IN FORM LAYOUTS

RECTANGLE draws a rectangle in the form.  The statement can be repeated for more rectangles.

SYNTAX

/[RECTANGLE top_left_row top_left_column bottom_right_row bottom_right_column rendition]...

top_left_row

is an integer constant that specifies the row position of the top left corner of the rectangle.

top_left_column

is an integer constant that specifies the column position of the top left corner of the rectangle.

bottom_right_row

is an integer constant that specifies the row position of the bottom right corner of the rectangle.

bottom_right_column

is an integer constant that specifies the column position of the bottom right corner of the rectangle.

rendition

specifies the video attributes for the rectangle.  More than one video attribute may be specified by separating the attributes 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

/RECTANGLE 2 30 5 35 @NORMAL

This example draws a rectangle.  The top left corner is at row 2 and column 30 in the form, and the bottom right corner is at row 5 and column 35 in the form.  The video attribute for the four lines is normal.

Back to Prompt Statement    Next page Title Statement