Unit rHTMLLabel

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

TrHTMLLabel is enhanced TLabel component which display caption with more font styles and colors according HTML tags in caption string, it can also display hyperlinks (anchor) and can handle click on it.

Supported HTML tags: <B>, </B>, <I>, </I>, <U>, </U>, <BIG>, </BIG>, <SMALL>, </SMALL>, <A HREF=target> for automatic launching of URL target (http, mailto, file etc.), <A NAME=param> for calling of user defined events, </A>, <COLOR=Red>, <COLOR=#FFFFFF> (RGB value), </COLOR> for setting of font color, <FONT COLOR=Red>, <FONT COLOR=#FFFFFF> (RGB value), </FONT> for setting of font color, <BGCOLOR=Gray>, </BGCOLOR> for setting of background color <BR> for line break, <TAB> for tabs grid <INDENT> for defining left indent for wraped lines <VAR>, </VAR> - defines parameter <NOWORDWRAP> - change label properties WordWrap to false (force drawing in one line)

Caption can contain parameters (between <VAR> and </VAR> tags), for each parameter OnGetParameter events is called .

TrHTMLLabel can display caption with 3D effect and beveled. For long caption can be used new memo property - CaptionStrings.

Updated version compatible with Delphi2010+. Splash screen in demo version.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TrHTMLLabel enhanced TLabel component which provides functionality for displaying caption with more font styles and colors according HTML tags in caption string
Class TrURLLabel enhanced TLabel component which provides functionality for launching of any URL target

Constants

FrmNoWordWrap = '<NOWORDWRAP>';

Description

Constants

FrmNoWordWrap = '<NOWORDWRAP>';
 

Author

Created

Jan 2006

Last Modified

Apr 2017


Generated by PasDoc 0.13.0 on 2018-07-13 22:00:06