Object Reference > True DBGrid Properties > InactiveForeColor Property |
This property controls the foreground color of an object's column headings when another object has focus.
object.InactiveForeColor= color
Read/Write at run time and design time.
Colors may be specified as RGB values or system default colors.
The inactive foreground color of a grid or split is determined by its InactiveStyle property setting. For these objects, the InactiveForeColor property is a shortcut to the ForeColor member off the InactiveStyle property.
Note
The inactive colors are only used when the grid's Appearance property is set to 0 - Flat. If the Appearance property is set to the default value of 1- 3D, then the headings do not change when a grid or split receives or loses focus.