Compartilhar via


Visual Basic: MSFlexGrid/MSHFlexGrid Controls

BackColorBand, BackColorHeader, BackColorIndent, BackColorUnpopulated Properties

See Also    Example    Applies To

  • BackColorBand Returns or sets the background color of the band area of the MSHFlexGrid.

  • BackColorHeader Returns or sets the background color of the header area of the MSHFlexGrid.

  • BackColorIndent Returns or sets the background color of the indented area of the MSHFlexGrid.

  • BackColorUnpopulated Returns or sets the background color of the unpopulated area of the MSHFlexGrid.

Syntax

object.BackColorBand (BandNumber) [=color]
object.BackColorHeader (BandNumber) [=color]
object.BackColorIndent (BandNumber) [=color]
object.BackColorUnpopulated [=color]

Syntax for the BackColorBand, BackColorHeader, BackColorIndent, and BackColorUnpopulated properties has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
BandNumber Required. A Long value that specifies the band to be affected.
color A numeric expression that specifies the color.