Help Center

BandIndentproperty

Specifies the number of columns by which to indent a band.

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 BandIndent (BYVAL BandNumber AS LONG) AS LONG
PROPERTY BandIndent (BYVAL BandNumber AS LONG, BYVAL nCols AS LONG)
PROPERTY BandIndent () AS LONG
PROPERTY BandIndent (BYVAL nCols AS LONG)

Parameters

NameDescription
BandNumberThe zero-based index of the band you wish to indent. If the band number is omited, band 0 is assumed.
nColsThe number of columns to use for the indentation.

Description

Specifies the number of columns by which a particular band is indented relative to the left edge of the control.

Remarks

By indenting child bands (e.g., Band 1, Band 2), developers can create a "drill-down" effect that makes it easier for users to distinguish between parent and child records in a SHAPE command-based dataset.

When using BandIndent, developers often use these related properties to further customize the indented areas:

BackColorIndent: Sets the background color of the indented area for a specific band.

ColWidth: Often used with a band parameter (ColWidth(column, band)) to ensure the columns within an indented band are sized appropriately without affecting the parent band.

BandDisplay: Determines if the bands are displayed horizontally (default) or vertically, which affects how the indentation appears visually.

Reference