Sign in Join
FPDoc Onlineexperiment

TCustomGrid.GridLineColor property

Member of TCustomGridprotectedIn unit Grids

Color used for the grid lines on the control.

Declaration

pascal
property GridLineColor: TColor read FGridLineColor write SetGridLineColor default clSilver;

Description

GridLineColor is a TColor property with the color used to draw the grid lines between rows and columns on the control. The default value for the property is clSilver. Changing the value for the property causes the grid control to be redrawn.

GridLineColor is used in the DrawCellGrid method to draw the lines around non-fixed cells when GridLineWidth has a non-zero value.

Use FixedGridLineColor to set the color used to draw grid lines around fixed rows and columns on the control.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.