Export (0) Print
Expand All
C
Col, Row Properties
ColWordWrapOption Properties
Expand Minimize
This topic has not yet been rated - Rate this topic

Visual Basic: MSFlexGrid/MSHFlexGrid Controls

Visual Studio 6.0

CellTextStyle Property

See Also    Example    Applies To

Returns or sets the three-dimensional style for text in a specific cell or range of cells. This property is not available at design time.

Syntax

object.CellTextStyle [=value]

The CellTextStyle property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value An integer or constant that specifies one of the constants of the CellTextStyle property, as described in Settings.

Settings

The settings for value are:

Constant Value Description
flexTextFlat 0 Default. The text is normal, flat text.
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. The cells appearance is also affected by the BackColor settings; some BackColor settings do not show the raised or inset feature.

Changing this property affects the current cell or the current selection, depending on the setting of the FillStyle property.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.