<< Click to display table of contents >> TSRVLabel |
TSRVLabel is a control displaying text.
Unit SRVLabel;
Syntax
TSRVLabel = class(TSRVGraphicControl);
TObject
TPersistent
TComponent
TControl
TGraphicControl
This component publishes the following properties inherited from TSRVGraphicControl:
•Alignment
•AutoSize
•DrawOnPrint;
•SkinManager;
•SkinSchemeIndex;
•properties inherited from TGraphicControl.
•
Property |
Type |
Default value |
Meaning |
---|---|---|---|
BackgroundColor |
TColor |
$881C10 |
Text shadow color |
ForegroundColor |
TColor |
$FFFFFF |
Text color (overrides Font.Color) |
Offset |
TRVPixel96Length |
1 |
Shadow offset (0 disables shadow) |
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 (RTL BiDiMode inverts alignments). The control size is set automatically, if AutoSize=True.
If SkinManager is assigned, a border is drawn using SkinManager.CurrentSkin.BoxSchemes[SkinSchemeIndex].
Example: