BackColorHeaderproperty
Returns or sets the background color of the header area of the MSHFlexGrid.
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 BackColorHeader (BYVAL BandNumber AS LONG) AS OLE_COLOR
PROPERTY BackColorHeader (BYVAL BandNumber AS LONG, BYVAL clr AS OLE_COLOR)
PROPERTY BackColorHeader () AS OLE_COLOR
PROPERTY BackColorHeader (BYVAL clr AS OLE_COLOR)
Parameters
| Name | Description | |
|---|---|---|
BandNumber | A zero‑based index identifying the band whose background color is being retrieved or modified. If the band number is omited, band 0 is assumed. | |
clr | An OLE_COLOR value, such as a system color constant (such vbHighlight or vbWindowBackground) or an RGB value. |
Description
Returns or sets the background color of the header area of the grid.
Example
' Setting the primary parent band header grid.BackColorHeader(0) = BGR(0, 0, 128)
' Setting the child band header to a light gray (system button face) grid.BackColorHeader(1) = &H8000000F
Reference
- Documented in Windows/Windows GUI/MSHFlexGrid Class.md
- Topic: Microsoft Hierarchical Grid