IHTMLMarqueeElement Object

Microsoft FrontPage Visual Basic

IHTMLMarqueeElement Object

IHTMLMarqueeElement

Represents a MARQUEE element in an HTML document. The IHTMLMarqueeElement provides access to a limited number of properties and methods related to the MARQUEE element. For access to all properties and methods, use the FPHTMLMarqueeElement object.

Using the IHTMLMarqueeElement Object

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

    Dim objMarquee As IHTMLMarqueeElement

Set objMarquee = ActiveDocument.all.tags("marquee").Item(0)