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.
ON KEY clauses can be included into the DIALOG statement to specify the behavior of the keys pressed while the input is performed. The keys can be assigned to form widgets and the actions will be triggered when such widget is pressed. However, if a key combination is not assigned to any widget, it can be activated with the help of the keyboard. One DIALOG statement can contain any number of the ON KEY clauses, they can be placed in any order.
Element |
Description |
Field List |
A list of one or more form fields separated by commas |
Key List |
A list that consists of one to four key names separated by commas |
ON KEY 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 KEY clause will be triggered, if the key referenced by it is pressed. Only if the cursor is located in one of the listed keys during the key press, the clause will be triggered.
DIALOG statement ON KEY clause functions in the same way as the INPUT statement ON KEY clause. Thus for more details on the ON KEY clause as well as for the information about the allowed key names see the ON KEY clause of the INPUT statement.