Object Reference > True DBGrid Properties > InactiveBackColor Property |
This property controls the background color of an object's column headings when another object has focus.
object.InactiveBackColor= color
Read/Write at run time and design time.
Colors may be specified as RGB values or system default colors.
The inactive background color of a grid or split is determined by its InactiveStyle property setting. For these objects, the InactiveBackColor property is a shortcut to the BackColor member of 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.