Help Center

TextStyleproperty

Determines the style of regular MSHFlexGrid cells.

Windowspropertydoc-orphan
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 TextStyle () AS TextStyleSettings
PROPERTY TextStyle (BYVAL style AS TextStyleSettings)

Parameters

NameDescription
styleAn integer or constant that specifies the text style.

Description

Returns or sets the three-dimensional style for text within a specific cell or range of cells.

Settings 1 and 2 work best for large and bold fonts. Settings 3 and 4 work best for small, regular fonts.

Example

' Make headers appear raised grid.TextStyleFixed = flexTextRaised ' Keep regular data flat grid.TextStyle = flexTextFlat

Reference