Share via


GridColor, GridColorBand, GridColorFixed, GridColorHeader, GridColorIndent, GridColorUnpopulated Properties (ModHFGrid)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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 the ModHFGrid Control object.
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 be used only when the GridLines property is set to 1 (Lines).

The GridColorFixed property can be used only when GridLinesFixed is set to 1 (Lines).

Raised and inset gridlines are always drawn in black and white.

See Also

GridLines, GridLinesBand, GridLinesFixed, GridLinesHeader, GridLinesIndent, GridLinesUnpopulated Properties (ModHFGrid) | ModHFGrid Control