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.Clear()
This method is used with a variable of the WINDOW data type to clear a window previously opened by ui.Window.Open() or by ui.Window.OpenWithForm() methods. If you use the method to clear the window containing a with form, the form will become invisible but won’t be closed.
If the form was opened by the OPEN FORM statement or ui.Form.Open() method, it can be easily redisplayed by the DISPLAY FORM statement or ui.Form.Display() method.
If the form was opened together with the window - ui.Window.OpenWithForm() - and was cleared from the window, it cannot be redisplayed.
ui.Window.clear() accepts no arguments and returns no values. It clears the window associated with the WINDOW variable it is used with regardless of which window is the current one.
CALL win_var.Clear()