Help Center

GridColorFixedproperty

Returns or sets the color used to draw the grid lines between the fixed cells.

Windowspropertydoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

PROPERTY GridColorFixed () AS OLE_COLOR
PROPERTY GridColorFixed (BYVAL clr AS OLE_COLOR)

Parameters

NameDescription
clrAn OLE_COLOR value, such as a system color constant or an RGB value.

Description

Returns or sets the line color used between fixed cells of the grid.

Remarks

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

Raised and inset gridlines are always black and white.

Example

' Ensure the grid style allows custom colors (Flat style) grid.GridLinesFixed = flexGridFlat ' Set the fixed area gridline color grid.GridColorFixed = BGR(128, 128, 128)

Reference