Filters

We have briefly described the structure and the interdependency of form elements, the properties of which can be changed with Lycia Theme Designer help.

There are several ways to assign properties depending on the filter you choose.

 

Name

Description

With ID filter

You can apply a property to any individual object within the application.

To do this you need to add an element to the Styles view. Then place the With ID filter inside it.

In the With ID filter field type the ID of the element which you want to use, note that the element should belong to the selected element type.

E.g. if you selected the button element filter, the With ID filter inside it can only contain the ID of a button widget, otherwise it will be ignored. After doing this, put the property inside the With ID filter and it will be applied to the selected object.

The object IDs can be looked up in the Form Tree view.

 

Hierarchical filters

It is possible to apply an option to a specific objects or an object type and all its children or descendants.

The Children and Descendants filters are used for this purpose.

 

Class filters

You can also prepare a set of properties in a kind of a template and then apply them to any object or group of objects.

To do this use the Apply Class... and With Class... filters.

 

Pseudo-Class filter

Some of the filtering is impossible to do by means of the filter types listed above.

This is usually true for the cases when you want the buttons to change colour when the mouse cursor is hovering over them, or when you want to filter all the messages displayed by means of the MESSAGE statement which makes them static labels by nature and means they will be normally filtered together with the rest of the labels.

For such specific cases the Pseudo-Class filter is usually used.

 

 

Related articles:

Predefined Lycia classes