FPHTMLSelectElement Object

Microsoft FrontPage Visual Basic

FPHTMLSelectElement Object

FPHTMLSelectElement Multiple objects

Represents a SELECT element in an HTML document. See also the IHTMLSelectElement object.

Using the FPHTMLSelectElement object

Use the tags method to return an IHTMLElementCollection collection that represents a collection of all the SELECT elements in a document. Use the Item method to return an FPHTMLSelectElement object that accesses a specific SELECT element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first SELECT element in the active document.

    Dim objSelect As FPHTMLSelectElement

Set objSelect = ActiveDocument.all.tags("select").Item(0)