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.
DIALOG statement is used to combine different user interaction statements and to execute them simultaneously. It does not in itself allow the user to enter values into fields or view the displayed data, it only serves as a container for input and display clauses and coordinates their work and allows them and work in parallel. Here is its syntax:
Element |
Description |
ATTRIBUTE Clause |
An optional ATTRIBUTE clause where the attributes for DIALOG statement can be specified. |
INPUT Clause |
A variant of an INPUT statement with its optional clauses and the obligatory END INPUT keywords. |
INPUT ARRAY |
A variant of an INPUT ARRAY statement with its optional clauses and the obligatory END INPUT keywords. |
CONSTRUCT |
A variant of a CONSTRUCT statement with its optional clauses and the obligatory END CONSTRUCT keywords. |
DISPLAY ARRAY |
A variant of a DISPLAY ARRAY statement with its optional clauses and the obligatory END DISPLAY keywords. |
DIALOG Control Clause |
This clause contains all optional control blocks allowed within the DIALOG statement |
The DIALOG statement is used to handle different parts of the same form simultaneously by means by several input or display statements. It cannot include input or display statements which reference fields of a form that is not located in the current window. It also cannot reference fields that belong to different forms. When the DIALOG statement starts executing, it activates the current form which is the most recently displayed form of the current window. This means that it activates all the fields and widgets on the form that are referenced by the underlying sub-dialog clauses. After the DIALOG statement finishes executing, it deactivates the form.
The INPUT, INPUT ARRAY, CONSTRUCT, and DISPLAY ARRAY clauses included into the DIALOG statement share their syntax and behavior with the independent INPUT, INPUT ARRAY, CONSTRUCT, and DISPLAY ARRAY statements. However, as a part of the DIALOG statement they have some peculiarities in syntax that will be discussed in detail later in this chapter.
A DIALOG statement can be nested into another DIALOG statement by means of the DIALOG Control Clauses. In this case the parent dialog will be suspended until the child dialog is finished or terminated.
Related articles:
ui.Dialog class