Returns or sets the line color used between the cells, bands, headers, indents, or unpopulated areas of the ModHFGrid.
Syntax
object.GridColor [= color]
object.GridColorBand(BandNumber) [= color]
object.GridColorFixed [= color]
object.GridColorHeader(BandNumber) [= color]
object.GridColorIndent(BandNumber) [= color]
object.GridColorUnpopulated [= color]
Syntax for the GridColor, GridColorBand, GridColorFixed, GridColorHeader, GridColorIndent, and GridColorUnpopulated properties has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
BandNumber | Required. A Long value that specifies the band being affected. |
color | A value or constant that determines the color used to paint the gridlines in the scrollable or fixed areas of the grid. |
Remarks
The GridColor property can only be used when the GridLines property is set to 1 (Lines).
The GridColorFixed property can only be used when GridLinesFixed is set to 1 (Lines).
Raised and inset gridlines are always drawn in black and white.