Class TrHTMLLabel

Unit

Declaration

type TrHTMLLabel = class(TLabel)

Description

enhanced TLabel component which provides functionality for displaying caption with more font styles and colors according HTML tags in caption string

Hierarchy

  • TLabel
  • TrHTMLLabel

Overview

Properties

Published property CaptionStrings: TStrings read FCaptionStrings write SetCaptionStrings;
Published property CaptionSkipEnter: boolean read FCaptionSkipEnter write SetCaptionSkipEnter default false;
Published property CaptionSimpleText: boolean read FCaptionSimpleText write SetCaptionSimpleText default false;
Published property FontColor: TColor read FFontColor write SetFontColor default clNone;
Published property AnchorColor: TColor read FAnchorColor write SetAnchorColor default clNone;
Published property ShowText3D: boolean read FShowText3D write SetShowText3D default false;
Published property ShadowColor: TColor read FShadowColor write SetShadowColor default clBtnShadow;
Published property ShadowSize: integer read FShadowSize write SetShadowSize default 1;
Published property ShowBeveled: boolean read FShowBeveled write SetShowBeveled default false;
Published property InnerSpace: byte read FInnerSpace write SetInnerSpace default 0;
Published property TabGridWidth: byte read FTabGridWidth write SetTabGridWidth default 30;
Published property OnAnchorClick: TAnchorClickEvent read FOnAnchorClick write FOnAnchorClick;
Published property OnGetParameter: TGetParameter read FOnGetParameter write FOnGetParameter;

Description

Properties

Published property CaptionStrings: TStrings read FCaptionStrings write SetCaptionStrings;

CaptionStrings are used as Caption, can contain more lines and can be edited easily in design time

Published property CaptionSkipEnter: boolean read FCaptionSkipEnter write SetCaptionSkipEnter default false;

Define whether line breaks in CaptionStrings will be ignored

Published property CaptionSimpleText: boolean read FCaptionSimpleText write SetCaptionSimpleText default false;

Define whether CaptionStrings is shown as is without HTML processing

Published property FontColor: TColor read FFontColor write SetFontColor default clNone;

Define fotn color instead of font - it allows to use parent font

Published property AnchorColor: TColor read FAnchorColor write SetAnchorColor default clNone;

Define color of shadow in case of 3D efect

Published property ShowText3D: boolean read FShowText3D write SetShowText3D default false;

Define whether label has 3D efect, see ShadowColor and ShadowSize too

Published property ShadowColor: TColor read FShadowColor write SetShadowColor default clBtnShadow;

Define color of shadow in case of 3D efect

Published property ShadowSize: integer read FShadowSize write SetShadowSize default 1;

Define size of shadow in case of 3D efect

Published property ShowBeveled: boolean read FShowBeveled write SetShowBeveled default false;

Define whether bevel is drawn arounf the caption

Published property InnerSpace: byte read FInnerSpace write SetInnerSpace default 0;

Define space between border and text

Published property TabGridWidth: byte read FTabGridWidth write SetTabGridWidth default 30;

Define size of empty space if TAB key or tag <TAB> is used in text

Published property OnAnchorClick: TAnchorClickEvent read FOnAnchorClick write FOnAnchorClick;

Define event when user click to Anchor

Published property OnGetParameter: TGetParameter read FOnGetParameter write FOnGetParameter;

Define event when user click to Anchor defined by tag <A NAME=paramname ...


Generated by PasDoc 0.15.0.