BackColorproperty
Returns or sets the background color of various elements 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 BackColor () AS OLE_COLOR
PROPERTY BackColor (BYVAL clr AS OLE_COLOR)
Parameters
| Name | Description | |
|---|---|---|
clr | A numeric expression that specifies the color. This is typically a 32-bit RGB color value. |
Description
Returns or sets the background color of the non-fixed cells. To set the background color of individual cells, use the CellBackColor property.
Remarks
It affects all non-fixed cells simultaneously unless an individual cell's background is specifically overridden.
Example
' Sets the global default background for all scrollable cells grid.BackColor = BGR(230, 240, 255)
' Contrast with CellBackColor for a specific cell highlight grid.Row = 1 grid.Col = 1 grid.CellBackColor = vbYellow
Reference
- Documented in Windows/Windows GUI/MSHFlexGrid Class.md
- Topic: Microsoft Hierarchical Grid