Vcl.DBCGrids.TDBCtrlGrid.SelectedColor
Delphi
property SelectedColor: TColor read FSelectedColor write SetSelectedColor
C++
__property System::Uitypes::TColor SelectedColor = {read=FSelectedColor, write=SetSelectedColor, stored=FSelColorChanged, default=-16777211};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.DbCGrids.pas Vcl.DBCGrids.hpp |
Vcl.DBCGrids | TDBCtrlGrid |
Description
Specifies the background color of the panel that represents the current record in the dataset.
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.