IHTMLFrameSetElement Object

Microsoft FrontPage Visual Basic

IHTMLFrameSetElement Object

IHTMLFrameSetElement

Represents a FRAMESET element in an HTML document. The IHTMLFrameSetElement object provides limited access to properties and methods related to the FRAMESET element. For access to all properties and methods, use the FPHTMLFrameSetSite object.

Using the IHTMLFrameSetElement Object

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

    Dim objFrameSet As IHTMLFrameSetElement

Set objFrameSet = ActiveDocument.all.tags("frameset").Item(0)