FPHTMLFieldSetElement Object

Microsoft FrontPage Visual Basic

FPHTMLFieldSetElement Object

FPHTMLFieldSetElement Multiple objects

Represents a FIELDSET element in an HTML document. See also the IHTMLFieldSetElement object.

Using the FPHTMLFieldSetElement Object

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

    Dim objField As FPHTMLFieldSetElement

Set objField = ActiveDocument.all.tags("fieldset").Item(0)