colorCondition

The colorCondition property defines a condition to set the foreground color dynamically, though it is recommended that you use styles to implement conditional colors.

The colorCondition property defines the logical color of the text of a field when the value satisfies the conditional expression.

The Expression Editor allows you to create the expression for which the colorCondition is evaluated.

The condition in colorCondition can only reference the field for which the property is set. The Boolean expression is automatically evaluated at runtime to check when the color property must be set.

There is not a related COLORCONDITION attribute in Genero BDL. For related topics, search on COLOR WHERE in the Genero Business Development Language User Guide.

Example Expressions

COLOR = GREEN WHERE today
To refer to the value in the expression, use the keyword $VALUE:
COLOR = RED WHERE $VALUE > 100