Pseudo-class filter is used to secure specific behavior of application elements under specified conditions. Pseudo-class filter filters elements based on the condition but not on their type, ID, or relations. Thus, the properties will be applied only to the elements which meet the condition and only when they meet it.
Here is the full list of conditions which are currently supported by Lycia as options for the With Pseudo-Class filter.
Option |
Description |
Focus |
filters the widgets in focus (e.g. the field where the cursor is during the execution of the INPUT statement) |
NoFocus |
filters all the widgets out of focus (e.g. fields which have no cursor during the execution of the INPUT statement) |
Inactive |
filters the widgets which are not active (e.g. fields which are currently not in the input state) |
Active |
filters the widgets which are active (e.g. the field which is currently in the input state) |
Query |
filters the widgets to which CONSTRUCT statement is applied |
Display |
filters the widgets to which DISPLAY and DISPLAY ARRAY statement is applied |
Input |
filters the widgets to which INPUT or INPUT ARRAY statements are applied |
Prompt |
filters the prompt line (prompt message and prompt field) during the execution of the PROMPT statement |
Comment |
applies only to the text displayed to the comment line |
Message |
applies only to the text displayed by the MESSAGE statement |
Error |
applied only to the text displayed by the ERROR statement |
DynamicLabel |
filters dynamic label widgets all over the application |
StaticLabel |
filters static labels which were created as static label widgets and to which DISPLAY ... AT statement is applied |
IsProtected |
filters widgets protected from overwriting (with Lycia, all widgets are usually protected except for labels) |
Border |
filters bordered windows (windows with the BORDER attribute) |
NoBorder |
filters flat windows (windows without the BORDER attribute) |
Form |
applies to the form in the application (i.e. the specified properties and behavior will be applied only to the form but to no other element of the application window (bars, containers, etc.)) |
Selected |
filters the selected row of the table |
PrintableWidgets |
filters widgets to which INPUT and DISPLAY statements can be applied: |
GreyableWidgets |
filters widgets that can be greyed when inactive: |
DataWidgets |
filters widgets which can contain any data: |
SelectedMany |
filters more than one selected row of the table |
Lycia |
filters applications run in the Lycia compatibility mode (i.e. QX_COMPAT=Lycia or undefined) |
Informix4GL |
filters applications run in the Informix compatibility mode (i.e. QX_COMPAT=Informix4GL) |
GBDS |
filters applications run in the GBDS (Genero® Business Development Suite) compatibility mode (i.e. QX_COMPAT=GBDS) |