Table of Contents

TMS FNC HTML Text User Guide

TTMSFNCHTMLText is a lightweight label control that renders HTML-formatted text. It supports inline tags such as <b>, <i>, <font>, <a>, and <img>, automatic content-height sizing, word wrap, and anchor click events — use it as a drop-in replacement for TLabel wherever you need mixed text styles or hyperlinks.

Topics

Topic Use when
Formatted text and links You need compact HTML-capable labels with wrapping, alignment, inline images, or clickable anchors.

Key properties

Property Purpose
Text The HTML-formatted content string.
WordWrap Enable automatic line wrapping at the control width.
AutoSize Shrink the control height to fit the rendered content.
HorzTextAlign Horizontal text alignment: gtaLeading, gtaCenter, or gtaTrailing.
VertTextAlign Vertical text alignment within the control bounds.
BitmapContainer Optional container supplying images referenced via <img> tags.
OnAnchorClick Fires when the user clicks an <a href="..."> anchor in the text.

See also