Property Integer Color
| Read Access: | Get Color to IntegerVariable |
| Write Access: | Set Color to IntegerVariable/Value |
Specifies the column's background color.
Default is clNone.
This is passed a single value representing an RGB color, which can be a constant representing a Standard Color or a System Color, or a set of R, G and B values. Individual Red, Green, and Blue colors are converted to a single value by using the RGB function.
Set Color to (rgb(255, 0, 0)) // red Set Color to clPurple Set Color to clBtnFace
If you want to dynamically change the background color of a grid column (and other cell display formatting), do so in OnSetDisplayMetrics using ComBackColor.