Share via


FPHTMLButtonElement Object

FPHTMLButtonElement
Multiple objects

Represents the BUTTON element in an HTML document. See also the IHTMLButtonElement object.

Using the FPHTMLButtonElement object

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

Dim objButton As FPHTMLButtonElement

Set objButton = ActiveDocument.all.tags("button").Item(0)

Properties | accessKey Property | all Property | children Property | className Property | clientHeight Property | clientLeft Property | clientTop Property | clientWidth Property | dataFld Property | dataFormatAs Property | dataSrc Property | disabled Property | Document Property | filters Property | form Property | id Property | innerHTML Property | innerText Property | isTextEdit Property | lang Property | language Property | name Property | offsetHeight Property | offsetLeft Property | offsetParent Property | offsetTop Property | offsetWidth Property | onafterupdate Property | onbeforeupdate Property | onblur Property | onclick Property | ondataavailable Property | ondatasetchanged Property | ondatasetcomplete Property | ondblclick Property | ondragstart Property | onerrorupdate Property | onfilterchange Property | onfocus Property | onhelp Property | onkeydown Property | onkeypress Property | onkeyup Property | onmousedown Property | onmousemove Property | onmouseout Property | onmouseover Property | onmouseup Property | onresize Property | onrowenter Property | onrowexit Property | onscroll Property | onselectstart Property | outerHTML Property | outerText Property | parentElement Property | parentTextEdit Property | recordNumber Property | scrollHeight Property | scrollLeft Property | scrollTop Property | scrollWidth Property | sourceIndex Property | status Property | style Property | tabIndex Property | tagName Property | title Property | Type Property | value Property

Methods | addFilter Method | blur Method | click Method | contains Method | createControlRange Method | createTextRange Method | focus Method | getAttribute Method | insertAdjacentHTML Method | insertAdjacentText Method | removeAttribute Method | removeFilter Method | scrollIntoView Method | setAttribute Method | toString Method

Events | onafterupdate Event | onbeforeupdate Property | onblur Event | onclick Event | ondataavailable Event | ondatasetchanged Event | ondatasetcomplete Event | ondblclick Event | ondragstart Event | onerrorupdate Event | onfilterchange Event | onfocus Event | onhelp Event | onkeydown Property | onkeypress Event | onkeyup Event | onmousedown Event | onmousemove Event | onmouseout Event | onmouseover Event | onmouseup Event | onresize Event | onrowenter Event | onrowexit Event | onselectstart Event

Parent Objects

Child Objects | IHTMLElement Object | IHTMLFiltersCollection Object | IHTMLFormElement Object | IHTMLStyle Object