ATTRIBUTE

The ATTRIBUTE clause assigns visual attributes in some 4GL statements.

4GLREF00000193.gif

Keywords listed at the left of this diagram specify color; those at the right specify intensity.

The ATTRIBUTE clause can appear in the following statements:

CONSTRUCT
DISPLAY FORM
INPUT ARRAY
DISPLAY
ERROR
MESSAGE
DISPLAY ARRAY
INPUT
PROMPT
Besides these statements, both the OPEN WINDOW statement and the OPTIONS statement can include ATTRIBUTE clauses that support additional keywords.

An attribute clause in any statement except OPEN WINDOW or OPTIONS can specify zero or more of the BLINK, REVERSE, and UNDERLINE attributes, and zero or one of the other attributes. That is, all of the attributes except BLINK, REVERSE, and UNDERLINE are mutually exclusive.

The BLINK and UNDERLINE attributes have no effect in Windows, but are included for compatibility with 4GL programs written for character-based environments.

References

CONSTRUCT
INPUT
DATABASE
INPUT ARRAY
DISPLAY
MESSAGE
DISPLAY ARRAY
OPEN WINDOW
DISPLAY FORM
OPTIONS
ERROR
PROMPT