Visual InterDev

setColumnCount Method

See Also      Applies To

Sets the number of columns in a Textbox object for determining the width.

Syntax

object.setColumnCount(nColumns)

Parameters

object

A Textbox script object.

nColumns

Specifies the number of columns that determines the width.

Remarks

The number of columns in a Textbox object determines the width, in characters, of the text box on the client. The number of columns is mapped to the COLS attribute.

To return the number of columns, use the getColumnCount method.