Visual InterDev

setMaxLength Method

See Also      Applies To

Sets the maximum length, in characters, of a Textbox.

Syntax

object.setMaxLength(number)

Parameters

object

A Textbox script object.

number

An integer greater than 0.

Remarks

To return the maximum length, call the setMaxLength method.