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.
WINDOW object data type describes a 4GL window. If a variable of this data type used to open and manipulate a window, it becomes the subject of the scoping rules for 4GL variables. A window object declared implicitly by using the OPEN WINDOW statement has the global scope, whereas a WINDOW variable can have any scope of reference depending on the place where it is declared. Thus a window opened using a WINDOW variable can have any scope of reference.
WINDOW variable is declared in the same was as variables of simple data types. It can be passed to functions as an argument and returned by them. You should not assign values to these variables using the LET statement. You should use the special methods instead to open and manipulate windows. A method should be prefixed by a variable of the WINDOW data type and separated from it by a full stop, i.e.:
variable.Method()
Here are the methods used with the variables of the WINDOW data type:
binds the window opened with an OPEN WINDOW statement with a Window object |
|
binds the current window with a ui.Window object |
|
initializes a ui.Window object and opens a window |
|
create an empty form and displays it to the associated window |
|
initializes a ui.Window object and opens a window with a form in it |
|
specifies the title of the window |
|
retrieves the title of the window |
|
specifies the icon for the window title bar |
|
retrieves the icon for the window title bar |
|
allows the user to manipulate the form objects |
|
clears a window opened by Open() or by OpenWithForm() methods |
|
moves the window associated with the variable to a new position |
|
brings the specified window to the top of the window stack, i.e. makes it the current window |
|
closes a window opened by Open() or byOpenWithForm() methods or initialized with a DEFINE statement |
|
displays a text to a specified window location |
|
displays a text to the reserved message line of the specified window |
|
displays a text to the reserved error line of the specified window |