Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Overview
Coming soon...Formatting rules are used to determine when a style should be applied to an object. For example, highlighting a form field with a missing entry or changing an icon based on the selected company's industry sector.
For information about all the available options see Formatting Rule
All Formatting Rules perform a logic check that if it returns True the shared style will be applied.
Example: Cell
In this example we will set the colour of a cell in a grid where the value is null as illustrated below:
- Select the column header and its properties open.
- In the Formatting Rule section click
.Insert excerpt _add _add nopanel true - In the Rule Expression, set the criteria that if it returns true, the selected style will apply. In our example we want a style to be applied when the Web field is empty. To achieve this we enter:
_current.Web == _NULL
sdcc