WDWBORDER (Window Border) Keyword for Display Files

Use this file- or record-level keyword to specify the color, display attributes, and characters used to form the border of a window.

The format of the keyword is:

WDWBORDER([color] [display-attribute] [characters])

At least one parameter must be specified.

The color parameter specifies the color of the border characters on a color display station (3179 Models C1 and C2, 5292 Color display stations only, or 5555 Models C01 and F01). The parameter is specified as an expression of the form (*COLOR value).

The valid values for the color parameter are:

Value
Meaning

BLU
Blue

GRN
Green

WHT
White

RED
Red

TRQ
Turquoise

YLW
Yellow

PNK
Pink

If the color parameter is not specified, the default is BLU. This parameter is ignored if it is specified for a window on a monochrome display.

The display-attribute parameter specifies the display attributes of the border characters. The parameter is specified as an expression of the form (*DSPATR [value1 [value2 [value3...]]]). If more than one DSPATR value is used, they are combined to form one DSPATR that is used for the entire border.

The valid values for the display-attributes values are:

Value
Meaning

BL
Blink

CS
Column separator

HI
High intensity

ND
Nondisplay

RI
Reverse image

UL
Underline

There is no default for display-attributes.

Note:
Display-attributes CS, HI, and BL can cause fields on 5292, 3179, and 3197 Model C1 and C2 display stations to appear as color fields. Display-attributes HI, RI, and UL cause a border not to be displayed. See COLOR (Color) Keyword for Display Files for more information.

The characters parameter specifies the characters that make up the border. The parameter is specified as an expression of the form (*CHAR 'border-characters'). The border character value is an 8-character string that defines the border characters in the following order:

top-left-corner
top-border
top-right-corner
left-border
right-border
bottom-left-corner
bottom-border
bottom-right-corner

If this parameter is not specified, the default border characters are period (.) for the upper-left and right corners and the top and bottom borders, colon (:) for the left and right borders and lower-left and right corners. Although any displayable character can be specified as a border character, it is recommended that you use invariant characters.

If the WDWBORDER keyword is specified at the record level, the WINDOW or PULLDOWN keyword must also be specified on the same record. If a WINDOW keyword that references another window is also specified, a warning message is issued.

Option indicators are valid for this keyword.

You can specify more than one WDWBORDER on a record. If you specify the WDWBORDER keyword more than once at the file level or at a record level, the parameters for the keywords that are in effect are combined on the same level. If different values are specified for the same parameter, the parameter value of the first keyword is used.

If the WDWBORDER keyword is specified both at the file level and on a window or pull-down definition record, the parameter values defined at both levels are combined. If different values are specified for the same parameter, the parameter value at the record level is used.