Visual InterDev

Textbox Script Object

See Also      Tasks      Properties      Methods      Events

Creates an <INPUT> or <TEXTAREA> tag on the client browser.

Remarks

The Textbox script object can be bound to data.

The script object is implemented on the client as an HTML <TEXTAREA> or <INPUT> tag.

To control how the Textbox is displayed, call the show, hide, and isVisible methods.

To control the width, call the getColumnCount and setColumnCount methods.

To control the height of a TextArea, call the getRowCount and setRowCount methods.

At design time, you can use the Textbox design-time control to create a Textbox object. The Textbox control has a custom property page that makes it easier to control the behavior of the Textbox object. The design-time control's Controlstyle property allows you to specify that the type of control is a Textbox, TextArea, or Password.

For information on scripting and objects, see Scripting with Design-Time Controls and Script Objects.