Help Center

GridColorUnpopulatedproperty

Returns or sets the line color used between the unpopulated areas of the MSHFlexGrid.

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 GridColorUnpopulated () AS OLE_COLOR
PROPERTY GridColorUnpopulated (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 for the "unpopulated" region—space within a hierarchical band structure that is reserved but currently empty.

Remarks

Raised and inset gridlines are always black and white.

This property only affects the color of gridlines in empty structural areas—not populated cells, fixed headers, or indent regions.

Example

' Ensure unpopulated areas show flat gridlines grid.GridLinesUnpopulated = flexGridFlat

' Set the specific color for those lines grid.GridColorUnpopulated = BGR(128, 192, 255)

Reference