Skip to content

Field Properties - Line Tab - Color

Select one of the colors shown in the combobox or create a function to return the color. Use one of the [predefined colors](../../../../explanations/functions/language-elements/constants/colors.md) or the [RGB()](../../../../explanations/functions/miscellaneous/rgb.md) function to return a color value.

Setting the colors can also be done by using a function such as:

```dataflex
if ({OrderDtl.Qty_Ordered} < 1) then
    return RGB(255,255,255)
else
    return drNone
end
```