[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.FixedColor

The color used for the fixed cells in the grid.

Declaration

Source position: grids.pas line 1255

protected property TCustomGrid.FixedColor : TColor
  read GetFixedColor
  write SetFixedcolor
  default clBtnFace;

Description

FixedColor is a TColor property with the color used to paint the background for fixed cells in the grid control. The default value for the property is clBtnFace. Changing the value in FixedColor causes the Invalidate method to be called to redraw the control.

Use Color to specify the background color for non-fixed cells in the grid control. Use AlternateColor to specify the background color used for alternate rows in the grid control.

Use the Color property in Font to specify the color used for text drawn in the cells for the grid. Use DisabledFontColor to specify the color used for text when the control is disabled.

Other colors can be supplied using properties including: BorderColor, GridLineColor, FixedGridLineColor FixedHotColor, FocusColor, and SelectedColor.

See also

TCustomGrid.FixedColor

  

The color used for the fixed cells in the grid.

TCustomGrid.FixedRows

  

Number of the fixed rows in the grid.

TCustomGrid.FixedCols

  

The number of fixed columns in the grid.


Version 3.2 Generated 2024-02-25 Home