RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBCtrlGrid.SelectedColor Property

Specifies the background color of the panel that represents the current record in the dataset.

Pascal
property SelectedColor: TColor;
C++
__property TColor SelectedColor;

Set SelectedColor to a value other than value of the Color property to make the panel that represents the current record stand out. TDBCtrlGrid draws the selected panel using SelectedColor even when it does not have input focus. All other panels are drawn with the background set to the value of the Color property. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!