SCREEN CHANGE_RENDITION

SCREEN CHANGE_RENDITION changes the video attributes of all or part of a window.

SYNTAX

SCREEN CHANGE_RENDITION /USING/ window_id, start_row, start_column, number_of_rows,
     
number_of_columns, rendition

window_id

is an integer system field, Global Storage (GS) field, or user-defined field that contains the window ID assigned to the window.

start_row

is an integer expression that specifies the starting row of the portion of the window whose rendition will be changed.

start_column

is an integer expression that specifies the starting column of the portion of the window whose rendition will be changed.

number_of_rows

is an integer expression that specifies the number of rows in the window whose rendition will be changed.

number_of_columns

is an integer expression that specifies the number of columns in the window whose rendition will be changed.

rendition

specifies the video attributes for the specified portion of the window.  More than one attribute may be defined 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

@READ_CHAR(MAIN_ID 5 10 20 REVERSE,"N/A") TO &
     STUDENT_NAME

SCREEN CHANGE_RENDITION USING MAIN_ID 5 10 1 20 &
      NORMAL

This example demonstrates how the input field's original rendition is restored.  The original rendition is not restored by the system function @READ_CHAR.

Back to Statement and Commands    Next page SCREEN DELETE_CHARS