FPHTMLTextAreaElement Object

Microsoft FrontPage Visual Basic

FPHTMLTextAreaElement Object

FPHTMLTextAreaElement Multiple objects

Represents a TEXTAREA element in an HTML document. See also the IHTMLTextAreaElement object.

Using the FPHTMLTextAreaElement object

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

    Dim objTextArea As FPHTMLTextAreaElement

Set objTextArea = ActiveDocument.all.tags("textarea").Item(0)