setStyle Method

             

Syntax

object.setStyle(nStyle)

Parameters

Object

A Textbox or Button script object.

nStyle

An integer that specifies the style.

Remarks

For the Button object, nStyle can be set to the following values:

Value Style Description
0 Text
1 Image

For the Textbox object, nStyle can be set to the following values:

Value Style Description
0 Textbox
1 Textarea
2 Password

To return the style of the object, call getStyle.