Visual InterDev

General Tab (Button Properties Dialog Box)

See Also      Tasks

Sets general options for the Button design-time control.

Options

Name

Type a name for the Button 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.

Note   If the control is on an HTML page (as opposed to an ASP page), the Server (ASP) selection is not available.

Appearance

Caption

Choose to display text on the button. Type the text as you want it to appear on the button. For buttons displaying text (as opposed to an image), this sets the Caption property for the control.

Image

Choose to display a graphic on the button. You must provide a path to the graphic file in the text box underneath the Image button. You can also click the browse button to the right of the text box and search for the image you want.

The value you enter for the path to the picture file sets the Image property for the control.

Alternate text

Enter text you want to appear on the button if the image selected in the Image property setting is not available. Sets the AltText property for the control.

Visible

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