TextStyle, TextStyleBand, TextStyleFixed, TextStyleHeader Properties (ModHFGrid)
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Returns or sets the three-dimensional style for text within a specific cell or range of cells.
- **TextStyle **determines the style of regular ModHFGrid cells.
- **TextStyleBand **determines the style of bands.
- **TextStyleFixed **determines the style of fixed rows and columns.
- **TextStyleHeader **determines the style of headers.
Syntax
object.TextStyle [=style]
object.TextStyleBand(BandNumber) [=style]
object.TextStyleFixed [=style]
object.TextStyleHeader(BandNumber) [=style]
Syntax for the TextStyle, TextStyleBand, TextStyleFixed, and TextStyleHeader properties has these parts:
Part | Description |
---|---|
object | An object expression that evaluates to the ModHFGrid Control object. |
BandNumber | Required. A Long value that specifies the band being affected. |
style | An integer or constant that specifies the text style, as described in Settings. |
Settings
The settings for style are:
Constant | Value | Description |
---|---|---|
flexTextFlat | 0 | The text is normal, flat text. This is the default. |
flexTextRaised | 1 | The text appears raised. |
flexTextInset | 2 | The text appears inset. |
flexTextRaisedLight | 3 | The text appears slightly raised. |
flexTextInsetLight | 4 | The text appears slightly inset. |
Remarks
Settings 1 and 2 work best for large and bold fonts. Settings 3 and 4 work best for small, regular fonts.
See Also
CellTextStyle Property (ModHFGrid) | Text Property (ModHFGrid) | ModHFGrid Control