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.
variable.Open("window name", y, x, rows, columns [, attributes])
This method is used with a variable of the WINDOW data type to initialize it and to open a window. The window opened in such a way can be referenced by other methods used for windows, if they are used with the same WINDOW variable:
DEFINE wo ui.Window
CALL wo.Open("Window Name", 2, 5, 13, 35,"green, border, message-line:12, prompt-line:10")
This method accepts six arguments. The first argument is a quoted string or a variable of a character data type which represents the window name which will be displayed to the window titlebar. Y stands for the row and X for the column at which the upper left corner of the window will appear; these are both literal integers or integer variables. Rows stands for the window height and columns for the window width, and are represented by literal integers or integer variables. The attributes argument is a quoted string containing the standard display attributes of color and intensity, the BORDER attribute and the attributes setting the positions of the reserved lines.
There may be more than one attribute in the character string, and they should be separated by commas. Here are the attributes you can use:
· Black, white, yellow, green, magenta, red, blue, cyan
· Invisible, underline, reverse, blink
· Normal, dim, bold
· Border
· form-line:<integer>, error-line:<integer>, message-line:<integer>, menu-line:<integer>, prompt-line:<integer>
The integer here stands for the number of the row where you want to position the reserved line. If the position for the reserved line is greater than the window height, the prompt will appear at the last line of the window