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

TCustomGrid.GridLineWidth

Width (thickness) for grid lines drawn on the control.

Declaration

Source position: grids.pas line 1266

protected property TCustomGrid.GridLineWidth : Integer
  read FGridLineWidth
  write SetGridLineWidth
  default 1;

Description

GridLineWidth is an Integer property which contains the thickness for the grid lines drawn on the control.

The default value for the property is 1, and causes a single pixel to be used when drawing grid lines. Changing the value for the property causes the grid control to be redrawn.

GridLineWidth is used in the DrawCellGrid method when grid lines are drawn for both fixed and non-fixed cells. Set GridLineWidth to 0 to suppress drawing of grid lines on the control.

See also

TCustomGrid.DrawCellGrid

  

Draws cell grid lines for the control.

TCustomGrid.GridLineStyle

  

Style used to draw the grid lines on the control.

TCustomGrid.GridLineColor

  

Color used for the grid lines on the control.

TCustomGrid.FixedGridLineColor

  

Color used to draw the separator lines for fixed grid cells.


Version 3.2 Generated 2024-02-25 Home