General Tab (Textbox Properties Dialog Box)

See Also      Tasks

Sets general options and options controlling the appearance of the Textbox design-time control.

Options

Name

Type a name for the Textbox control. The name is required and must be unique to the page. Sets the id property for the control.

Scripting Platform

Displays the platform (Server or Client) of the recordset selected for this control, or allows you to select a platform or use the page's default platform setting (Inherit from page) if you haven't selected a recordset. Sets the DTCScriptingPlatform property for the control.

After you set a recordset, the Scripting Platform property is read-only for the control. To change the platform, select a different recordset.

Style

Choose "Textbox" to create a standard text box or "Text Area" to create a memo-type control. You can also select "Password" to create an HTML password text box. This generates an <INPUT> tag with the TYPE = PASSWORD attribute. Sets the ControlStyle property for the control.

Lines

Sets the number of lines in the text area, if you select "Text Area" for the Style property. Sets the Lines property for the control.

Enabled

Clear this option to create the text box solely to display text. When a disabled text box is displayed in the browser, the user can't change its value. Sets the Enabled property for the control.

Visible

Clear this option to create the text box as a hidden form element. You might do this, for example, if you want to display the text box at run time only under certain conditions. Sets the Visible property for the control.

Data

Recordset

Choose the name of a Recordset control on the page. Sets the Recordset property for the control.

Field

Choose the name of the field whose data you want to display in the text box. Sets the DataField property for the control.

Size

Display width

Sets the width of the text box, in characters, if you select Text Box or Password for the Style property, or sets the number of columns in the text area, if you select Text Area for the Style property. Sets the DisplayWidth property for the control.

Max characters

Sets the maximum number of characters allowed in the text box, if you select Text Box or Password for the Style property. Any additional characters from the recordset field are truncated. This property is not available if you select Text Area for the Style property. Sets the MaxChars property for the control.