TextStyle Property

Returns or sets the text style for an object.

object.TextStyle = [value]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and value is a value or constant as described in Settings.

Client support

   Newlook Smartclient

   Newlook Server

Use

Not supported in Newlook Smartclient for the menu button control.

Settings

The following settings are available for the TextStyle property:

Constant

(Macros)

Constant

(Scripts)

Value

Example

Description

TextNormal

nlTextNormal

0

Display the text normally.

TextEngrave

nlTextEngrave

1

Display engraved text.

TextEmboss

nlTextEmboss

2

Display embossed text.

TextShadow

nlTextShadow

3

Display the text with a shadow

Note:When using constants in the script editor, each constant must be prefaced by nl.

See Also

Caption property | FontName property| FontItalic property | FontBold property | FontUnderline property

Applies To

Check box control

Command button control

Frame control

Label control

Menu button control (Newlook Server-only)

Option button control


© 2004-2021 looksoftware. All rights reserved.