Help Center

BackColorIndentproperty

Returns or sets the background color of the indented area 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 BackColorIndent (BYVAL BandNumber AS LONG) AS OLE_COLOR
PROPERTY BackColorIndent (BYVAL BandNumber AS LONG, BYVAL clr AS OLE_COLOR)
PROPERTY BackColorIndent () AS OLE_COLOR
PROPERTY BackColorIndent (BYVAL clr AS OLE_COLOR)

Parameters

NameDescription
BandNumberA zero‑based index identifying the band whose background color is being retrieved or modified. If the band number is omited, band 0 is assumed.
clrAn OLE_COLOR value. This can be a standard VB constant (e.g., vbRed), a hex color code, or an RGB value.

Description

Returns or sets the background color of the indented area of the grid that separates a child band from its parent band in a hierarchical display.

Example

' Target the first child band (Band 1) ' Set the indentation color to a light gray grid.BackColorIndent(1) = &HE0E0E0

Reference