To meet your needs, we constantly work to improve Querix products.
This means that Lycia documentation is developing as well.
In case you have found a certain dissonance between the provided information and the actual behavior of Lycia 3 and/or your applications, please, let us know about this via documentation@querix.com so that we can introduce the necessary changes to our documentation.
Thank you for your attention and cooperation.
The SetArrayAttributes() method is used to set display attributes for specific cells of the screen array. The method needs two arguments to be specified:
CALL Dialog.SetArrayAttributes("screen_array", program_array)
The screen and program array should have the same number of records. The elements of the screen and program array must have the same names. Moreover, the screen array elements should be defined as a character data type, which is typically STRING.
The program_array attribute specifies the program array containing the screen array color and video attributes. The cell attributes can be represented as combinations of following:
REVERSE attribute.
UNDERLINE attribute.
BLINK attribute.
colors (only one can be specified at once): BLACK, MAGENTA, BLUE, CYAN, GREEN, YELLOW, RED, WHITE.
When the attribute values are stored to the program array, they can be passed to the dialog with the SetArrayAttributes() method used in a BEFORE DISPLAY or BEFORE INPUT blocks.
The attributes set this way can be changed dynamically. To cancel the applied attributes, pass NULL to the SetArrayAttributes() as the program_array argument.