Sign in Join
FPDoc Onlineexperiment

TDBGrid.SelectedColor property

Member of TDBGridpublicIn unit DBGrids

Color used for selected cells in the grid.

Declaration

pascal
property SelectedColor:;

Description

SelectedColor is a TColor property which contains the color used for the background in selected cell(s). SelectedColor is used in PrepareCanvas to set the brush color for the control Canvas when IsSelected is True. The default value for the property is clHighlight as assigned in the constructor for the class instance.

Changing the value in SelectedColor causes the Invalidate method to be called to redraw the control.

This description is the one of Grids.TCustomGrid.SelectedColor.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.