SRVLabel TSRVLabel

Top  Previous  Next

TSRVLabel is a control displaying text.

Unit SRVLabel;

Syntax

TSRVLabel = class(TSRVGraphicControl);

Hierarchy

TObject

TPersistent

TComponent

TControl

TGraphicControl

TSRVGraphicControl

Properties and events

This component publishes the following properties inherited from TSRVGraphicControl:

Alignment

AutoSize

BackgroundColor

ForegroundColor

DrawOnPrint;

SkinManager;

SkinSchemeIndex;

properties inherited from TGraphicControl.

Painting

This component displays text specified in Caption. This component is transparent. ForegroundColor is a text color, BackgroundColor is a text shadow color. A shadow is shifted by Offset. The caption is aligned according to Alignment. The control size is set automatically, if AutoSize=True.

If SkinManager is assigned, a border is drawn using SkinManager.CurrentSkin.BoxSchemes[SkinSchemeIndex].

Example:

SRVLabel Scheme


ScaleRichView © Ilya Zelensky & Sergey Tkachenko