Vcl.Grids.TCustomGrid.GridLineWidth
Delphi
property GridLineWidth: Integer read FGridLineWidth write SetGridLineWidth default 1;
C++
__property int GridLineWidth = {read=FGridLineWidth, write=SetGridLineWidth, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
Description
Specifies the width (in pixels) of the lines that separate the cells of the grid.
Set GridLineWidth to make the lines that separate the cells in the grid heavier or lighter. When GridLineWidth is zero, no separators are drawn between the cells of the grid.
GridLineWidth will have no effect if the Options property does not include goFixedHorzLine
, goFixedVertLine
, goHorzLine
, or goVertLine
.
Note: Values greater than 3 pixels are not recommended for applications that run on Windows 9x or Windows ME because of distortions that can appear.
See Also
Code Examples