FILL Statement in form layouts

FILL specifies the size of the form, placement of the form on the screen, and the default rendition of the form.

SYNTAX

/FILL 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 form should be displayed on the screen.

column

is an integer constant that specifies the column position where the top left corner of the form should be displayed on the screen.

number_of_rows

is an integer constant that specifies the number of rows in the form.

number_of_columns

is an integer constant that specifies the number of columns in the form.

rendition

specifies the video attributes for the form.  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

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.

EXAMPLE

/FILL 5 8 10 40 @NORMAL

When the form is displayed on the screen, the top left corner of the form should be at row 5 and column 8 of the screen.  The size of the form is 10 rows by 40 columns with a normal rendition.

Back to page Form Layout Screen Definition    Next page Selection Statement in Form Layouts