GridLines
This property determines whether horizontal gridlines, vertical gridlines, or both should be displayed in a grid.
Usage |
grdGrid.GridLines = nGridValue nGridValue = grdGrid.GridLines |
Parameter |
Value |
Meaning |
nGridValue |
0 |
Display no gridlines. |
1 |
Display only horizontal gridlines. |
|
2 |
Display only vertical gridlines. |
|
3 |
The default: Display both horizontal and vertical gridlines. |
Example |
frmFormOne.grdMyDataGrid.GridLines = 1 && horizontal only |
See Also |
DeleteMark, DynamicBackColor, Grid, GridLineColor, GridLineWidth, RecordMark |