Sign in Join
FPDoc Onlineexperiment

TCustomGrid.FixedColor property

Member of TCustomGridprotectedIn unit Grids

The color used for the fixed cells in the grid.

Declaration

pascal
property 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

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