TextStyleBandproperty
Determines the style of bands.
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 TextStyleBand (BYVAL BandNumber AS LONG) AS TextStyleSettings
PROPERTY TextStyleBand (BYVAL BandNumber AS LONG, BYVAL style AS TextStyleSettings) AS HRESULT
PROPERTY TextStyleBand () AS TextStyleSettings
PROPERTY TextStyleBand (BYVAL style AS TextStyleSettings) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
BandNumber | A zero‑based index identifying the band whose text Style is being retrieved or modified. If the band number is omited, band 0 is assumed. | |
style | An integer or constant that specifies the text style. |
Description
Returns or sets the three-dimensional style for text within a specific band.
Settings 1 and 2 work best for large and bold fonts. Settings 3 and 4 work best for small, regular fonts.
Remarks
The property is applied per band, allowing you to visually distinguish different levels of your data hierarchy (e.g., Parent vs. Child records).
Example
grid.TextStyleBand(1) = flexTextInset
Reference
- Documented in Windows/Windows GUI/MSHFlexGrid Class.md
- Topic: Microsoft Hierarchical Grid