getStyle Method

See Also            Applies To

Returns a an integer that identifies the style of the object.

Syntax

object.getStyle()

Parameters

Object

A Textbox or Button script object.

Remarks

For the Button object, the integer identifies the style of the Button:

Value Style Description
0 Text
1 Image

For the Textbox object, the integer identifies the style of the Textbox:

Value Style Description
0 Textbox
1 Textarea
2 Password

To set the style of the object, call setStyle.