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.
The SetElementStyle() method is used to modify the display style of a static form widget. The accepts two arguments: the first one is the name of a static form widget and the second one is the name of a class in a theme file (.qxtheme).
A class in a theme file is created using the With Class filter in the Lycia Theme Designer. The properties set for the specified class will then be applied to the selected widget, even if this class was not applied to this widget directly in the theme file. The function of this method is the same as the function of the Apply Class property of the Theme Designer used for the same widget, but the method can apply classes dynamically.
CALL fo.setElementStyle("fonronly.main_label", "my_style_class")
The SetFieldStyle() method has a synonym - SetElementStyle() - that is used for compatibility purpose.