Class XbpHTMLElement() Foundation

Class function of the XbpHTMLElement class.

Description

Objects of the XbpHTMLElement class represent elements in the HTML markup loaded into an XbpHTMLWindow() object.

Instances of the XbpHTMLElement class are not created directly in application code. Instead, HTML elements are returned by methods such as :childFromName().

Once an HTML element reference is obtained by the application, it can be used to change properties of the corresponding view element, or it can be used to register code blocks for handling events such as mouse clicks.

Runtime
:HTML
The HTML markup displayed by the element.
:id
The id of the element.
:name
The name of the element.
:text
The inner text of the element.
Event Callbacks
:collapsed
The element has expandable behavior and was collapsed
:expanded
The element has expandable behavior and was expanded
:keyboard
The element has edit field-like behavior and a character was entered via the keyboard.
:lbDown
The left mouse button was clicked over the element.
:lbDblClick
A double-click was performed over the element with the left mouse button.
:rbDown
The right mouse button was clicked over the element.
:rbDblClick
A double-click was performed over the element with the right mouse button.
Methods for accessing view elements
:childFromId()
Retrieves a view element given its identifier.
:getNoIVar()
Retrieves an HTML element given its identifier.
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.