Field Properties - Border Tab - Color¶
The border color can be set to one of the colors shown in the combobox.
Setting the color can also be done by using a function. Use one of the predefined colors or the RGB() function to return a color value.
An example of a function for setting a color:
if ({OrderDtl.Qty_Ordered} < 1) then
return drRed
else
return drBlack
end