This feature of the ”Text” object allows one to color an object according to a specified condition. Any expression can be a condition. We’ll use the example with groups to demonstrate. Let the order totals, which are larger than 5000, be green-colored. Select the object with the “Group."ItemsTotal"” field and click on the “Conditional highlighting” button in the designer toolbar. In the conditional highlight editor, enter a condition, which after the value is exceeded, the object will be highlighted, and specify the color attributes to change (font parameters and background color).
The preview result will appear as follows:
Note the conditional expression we specified (Value > 5000). Value is the DB field value, to which the object is linked. In a similar way, the “<Group."ItemsTotal"> > 5000” condition may be set. In general, any expression, which is correct in terms of FastReport, may be specified here.