$DEF_VIDEO

Set the default video attributes for fields.

$DEF_VIDEO {=} Attribute{,AttributeN,...}

Example: $DEF_VIDEO = (BRI,UND)

Arguments

Attribute—video attribute code. When combining video attributes, you can enclose them in parentheses.

Video Attribute Codes
Attribute Code Description
BLI Blinking
BOR Border
BRI Bright
HLT Use system highlight color.

Note: This attribute always takes precedence over other video attributes that may be specified.

INV Inverse
UND Underline
COL= n Set color to color code n, the sum of the color numbers for foreground and background.

Defaults

Assignment file: client assignment files
Section: [SETTINGS]
Default value: None

Description

$DEF_VIDEO sets the default video attributes for all fields in forms. In addition, it sets the value of the DEF parameter used with the $fieldvideo and fieldvideo ProcScript instructions.

Note:  You cannot test or change the value of $DEF_VIDEO in ProcScript.

$DEF_VIDEO

To make fields appear by default with white letters on a blue background, determine the color number by adding 56 (white foreground) and 1 (blue background):

$DEF_VIDEO COL=57

To make fields appear by default in high intensity and underlined, use the following assignment:

$DEF_VIDEO BRI,UND

Related Topics