TextStyle

This property returns and sets the three-dimensional style for text on a specific cell or range of cells. TextStyle determines the style of regular Grid cells.

Syntax

object.TextStyle[= style]

Parameters

object
Object expression that evaluates to a Grid control.
style
Integer or constant that specifies the text style. The following table shows the settings for style.
Constant
Setting
Description
flexTextCustom –1 Custom
flexTextFlat 0 Flat (standard text)
flexTextRaised 1 Raised
flexTextInset 2 Inset
flexTextRaisedLight 3 Raised light
flexTextInsetLight 4 Inset light

Remarks

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