Attribute clause of the INPUT ARRAY statement has the general structure described here. However, it can include the specific attributes. The CURRENT ROW DISPLAY attribute, which specifies the display attributes to the current row of the screen array. All the other attributes influence all the fields of the screen array.
|
Display Block |
CURRENT ROW DISPLAY BLACK, BLUE, CYAN, GREEN, MAGENTA, RED, WHITE, YELLOW BOLD, DIM, INVISIBLE, NORMAL REVERSE, UNDERLINE STYLE |
||
|
Control Block |
ACCEPT, CANCEL, APPEND ROW, INSERT ROW, DELETE ROW, AUTO APPEND, KEEP CURRENT ROW, FIELD ORDER FORM, UNBUFFERED, WITHOUT DEFAULTS COUNT, MAXCOUNT HELP |
||
Here is the full scheme for the INPUT ARRAY attributes:
|
Integer expression |
The integer expression that returns a positive integer |
|
Attribute list |
The list of general display attributes |
|
Class |
The character value specifying a name of a theme class |
The attributes specified in the ATTRIBUTE clause of the INPUT ARRAY statement are applied to the form only when it is active.
Example:
INPUT ARRAY my_arr FROM my_scrarr.*
ATTRIBUTE (BLUE, REVERSE)
The ATTRIBUTE clause of the INPUT ARRAY statement overrides attributes specified in the ATTRIBUTE clauses of the DISPLAY FORM, OPTIONS, or OPEN WINDOW statements for the same form.
The attributes unique for the INPUT ARRAY clause can be complimented with the color and intensity attributes.