type Property

Microsoft FrontPage Visual Basic

Show All Show All

type Property

ShowAs it applies to the FPHTMLButtonElement and IHTMLButtonElement objects

Returns a String that represents the classification and default behavior of the button.

expression.type

expression    Required. An expression that returns one of the above objects.

Remarks

The type property may be one of the following String values:

ValueDescription
buttonCreates a Command button.
resetCreates a Reset button. If it's in a form, this button resets the fields in the form to their initial values.
submitCreates a Submit button. If it's in a form, this button submits the form.

ShowAs it applies to the FPHTMLInputButtonElement, FPHTMLInputFileElement, FPHTMLInputHiddenElement, FPHTMLInputImage, FPHTMLInputTextElement, FPHTMLSelectElement, FPHTMLTextAreaElement, IHTMLInputButtonElement, IHTMLInputFileElement, IHTMLInputHiddenElement, IHTMLInputImage, IHTMLInputTextElement, IHTMLSelectElement, and IHTMLTextAreaElement objects

Returns a String that represents the type of control.

expression.type

expression    Required. An expression that returns one of the above objects.

Remarks

The type property may be one of the following String values:

ObjectValueDescription
FPHTMLInputButtonElement and IHTMLInputButtonElementbuttonCreates a button control.
FPHTMLInputButtonElement and IHTMLInputButtonElementcheckboxCreates a checkbox control.
FPHTMLInputFileElement and IHTMLInputFileElementfileCreates a file upload object.
FPHTMLInputHiddenElement and IHTMLInputHiddenElementhiddenCreates a control hidden from a user.
FPHTMLInputImage and IHTMLInputImageimageCreates an image control that can be clicked, causing a form to be immediately submitted.
FPHTMLInputButtonElement and IHTMLInputButtonElementpasswordCreates a control similar to the text control, except that text is not displayed as the user enters it.
FPHTMLInputButtonElement and IHTMLInputButtonElementradioCreates radio buttons used for mutually exclusive sets of values.
FPHTMLInputButtonElement and IHTMLInputButtonElementresetCreates a button that resets a form's controls to their specified initial values.
FPHTMLInputButtonElement and IHTMLInputButtonElementsubmitCreates a button that submits a form.
FPHTMLInputTextElement and IHTMLInputTextElementtextCreates a single-line text-entry control.
FPHTMLSelectElement and IHTMLSelectElementselect-multipleCreates a list box from which a user can select multiple items.
FPHTMLSelectElement and IHTMLSelectElementselect-oneCreates a list box from which a user can select one item.
FPHTMLTextAreaElement and IHTMLTextAreaElementtextareaCreates a multiple-line text-entry control.

ShowAs it applies to the FPHTMLLIElement, FPHTMLOListElement, FPHTMLUListElement, IHTMLLIElement, IHTMLOListElement, and IHTMLUListElement objects

Sets or returns a String that represents the style of bullet for a numbered or bulleted list.

expression.type

expression    Required. An expression that returns one of the above objects.

Remarks

The type property may be one of the following String values:

ValueDescription
1Displays Arabic numerals for items in a numbered list.
aDisplays lowercase letters for items in a numbered list.
ADisplays uppercase letters for items in a numbered list.
iDisplays lowercase Roman numerals for items in a numbered list.
IDisplays uppercase Roman numerals for items in a numbered list.
discDisplays a solid disc for items in a bulleted list.
circleDisplays a hollow circle for items in a bulleted list.
squareDisplays a solid square for items in a bulleted list.

ShowAs it applies to the FPHTMLObjectElement and IHTMLObjectElement objects

Sets or returns a String that represents the MIME type of an OBJECT element.

expression.type

expression    Required. An expression that returns one of the above objects.

Remarks

MIME is an abbreviation for Multipurpose Internet Mail Extension and is a set of enhancements used with Simple Mail Transfer Protocol (SMTP). Used together, MIME and SMTP allow Internet messages to include a mixture of audio, images, video, and text components, and accommodate a variety of international character sets.

ShowAs it applies to the FPHTMLScriptElement and IHTMLScriptElement objects

Sets or returns a String that represents the language associated with a script.

expression.type

expression    Required. An expression that returns one of the above objects.

Remarks

The type property may be one of the following String values:

ValueDescription
text/ecmascriptECMAScript.
text/JscriptJScript (compatible with ECMA 262 language specification).
text/javascriptJScript.
text/vbsVBScript.
text/vbscriptVBScript (same as text/vbs).
text/xmlXML.

ShowAs it applies to the FPHTMLStyle and IHTMLStyleElement objects

Sets or returns a String that represents the Cascading Style Sheet (CSS) language in which the style sheet is written.

expression.type

expression    Required. An expression that returns one of the above objects.

ShowAs it applies to the FPHTMLStyleSheet object

Returns a String that represents the Cascading Style Sheet (CSS) language in which a style sheet is written.

expression.type

expression    Required. An expression that returns one of the above objects.

ShowAs it applies to the IHTMLEventObj object

Returns a String that represents the name of the event.

expression.type

expression    Required. An expression that returns one of the above objects.

ShowAs it applies to the IHTMLSelectionObject object

Returns a String that represents the type of selection.

expression.type

expression    Required. An expression that returns an IHTMLSelectionObject object.

Remarks

The type property can be one of the following String values:

ValueDescription
noneNo selection/insertion point.
textText selection.
controlControl selection.