Conditions
Every component of the page can take on a different appearance depending on the occurrence of user conditions.These conditions are typically comparisons of two variables or of a variable and a constant.An unlimited number of different conditions can be defined on each page and/or widget, assigning each condition a different appearance of components on the page.
For add a new condition use
For remove a condition use
For syntax change select the condition and use
Each page normally has a default condition, which is the first active condition when the page is called (both at design time and at runtime). If there are additional condition more than the default one, these are tested iwith order: The first valid one is executed. To change the order select them one by one and act on ‘up’ or ‘down’ .
In the example over the variable @NO_NAME_0 has value bigger or equal to 1 it is execute the second condition (“@NO_NAME_0>=1”) except if the variabil value is 2, inn this case it is execute the first one. (“@NO_NAME_0=2”). If the 2 conditions were inverted the second will never be executed .In the window that appears, add the mathematical expression of control with the syntax available for scripts.Examples:
Note: some properties are not modifiable by conditions (e.g.: the widget name). In this case, activating the condition at design time, the property will be identified by the character “*”.To return to starting condition of the page, select the default condition.In order to have a preview of the state of the page and its components parallel of the activation of a particular condition there is a combobox on the top edge.
This component displays all the condition on the page (even of different widgets) and allows the selection of one. Once you select a condition, the page shows the graphic look actived and going to act on all the widgets that the condition was linked to.
- data = 5
- data < 5
- data = data2
- data1 >= data2+(data3*5)