CellTextStyle Property

Returns or sets 3D effects for text in a selected cell or range.

Syntax

[form!]VSFlexGrid.CellTextStyle[ = TextStyleSettings ]

Remarks

The effect of the settings for the CellTextStyle property are described below:

 

Constant

Value

Description

flexTextFlat

0

Draw text normally.

flexTextRaised

1

Draw text with a strong raised 3-D effect.

flexTextInset

2

Draw text with a strong inset 3-D effect.

flexTextRaisedLight

3

Draw text with a light raised 3-D effect.

flexTextInsetLight

4

Draw text with a light inset 3-D effect.

 

Constants flexTextRaised and flexTextInset work best for large and bold fonts. Constants flexTextRaisedLight and flexTextInsetLight work best for small regular fonts.

Changing this property affects the current cell or the current selection depending on the setting of the FillStyle property. To set the picture alignment of an arbitrary range of cells (not necessarily the current selection), use the Cell property instead.

Data Type

TextStyleSettings (Enumeration)

See Also

VSFlexGrid Control