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.
Actions which you have assigned to the widgets in the form specification file can be used in an ON ACTION clause. The ON ACTION clauses are treated by 4GL very much like the ON KEY clauses. 4GL executes the statements specified in it, when the user presses a button or other widget on the form to which the corresponding action is assigned. Whereas an ON KEY clause does not necessarily refer to a form widget and can be activated with the help of the keyboard, an ON ACTION clause is activated with the help of a form widget. The action list can contain several actions separated by commas.
Element |
Description |
Field List |
A list of one or more form fields separated by commas |
Action List |
A list that consists of one to four actions separated by commas and enclosed in quotation marks |
ON ACTION clause of the DIALOG statement can also include an optional infield() operator. Even though the DIALOG does not reference fields directly, any fields that are included into its input and display clauses can be used in this instruction. This operator specifies a field or a list of fields for which the ON ACTION clause will be triggered, if the action referenced by it is activated. Only if the cursor is located in one of the listed keys during the key press, the clause will be triggered.
The ON ACTION clause of the DIALOG statement functions in the same way as that of the INPUT statement. Thus for more details see the INPUT statement ON ACTION clause description.