TWebHTMLSpan
Description
Below is a list of the most important properties methods and events for TWebHTMLSpin.
TWebHTMLSpan is basically a placeholder to add any control or HTML to be rendered on the page
directly on the form. The HTML is added as text via the property WebHTMLSpan.HTML.
The outer element of the HTML container is a SPAN element.
 |
The TWebHTMLSpan is a control that represents a HTML SPAN element |
| Designtime |
Runtime |
HTML template tag
The HTML tag the component can be associated with in an HTML template. Assign the ID
attribute with a unique value and set the identical value to the ElementID property. Detailed
information can be found in the Use of HTML templates topic.
| HTML tag |
<SPAN ID=”UniqueID”></SPAN> |
| ElementID |
UniqueID |
Properties for TWebHTMLSpan
| Properties |
Description |
| ElementClassName |
Sets the CSS class name attributes |
| ElementFont |
Determines whether the Font property values will be applied as font style or if CSS based font settings will be used |
| ElementPosition |
Defines whether the SPAN is shown absolute positions or relative positioned |
| HTML: THTMLText |
Sets the innerHTML text value for the SPAN element |
| Name |
Sets the name of the HTML SPAN element |
Events for TWebHTMLSpan
| Properties |
Description |
| OnClick |
Event triggered when the HTML SPAN element is clicked |
| OnDblClick |
Event triggered when the HTML SPAN element is double-clicked |
| OnMouseDown |
Event triggered when the mouse goes down on the HTML SPAN element |
| OnMouseUp |
Event triggered when the mouse goes up on the HTML SPAN element |
| OnMouseMove |
Event triggered when the mouse moves over the HTML SPAN element |
| OnMouseLeave |
Event triggered when the mouse leaves the HTML SPAN element |
| OnMouseEnter |
Event triggered when the mouse moves over the HTML SPAN element |