| << Click to display table of contents >> TCustomSRVGraphicControl | 
TSRVGraphicControl is the base class for lightweight SRVControls.
Unit SRVControl;
Syntax
TCustomSRVGraphicControl = class(TGraphicControl);
TObject
TPersistent
TComponent
TControl
TGraphicControl
Public properties:
| Property | Type | Default value | Meaning | 
|---|---|---|---|
| AutoDarkMode | Boolean | True | If True, and the control is inserted in a dark-mode editor (TSRichViewEdit or TRichView), luminance of all colors is inverted. Otherwise, DarkMode property is used. | 
| DarkMode | Boolean | False | If True, luminance of all colors are inverted. This property is used only if the control is not inserted in an editor, or if AutoDarkMode = False. | 
| DrawOnPrint | Boolean | True | if True, this control will be printed | 
| 
 | Boolean | 
 | Read-only. Returns True if the user pressed the left mouse button above the control. | 
| 
 | Boolean | 
 | Read-only. Returns True, if the mouse pointer is above the control | 
Public events:
•OnMouseEnter, OnMouseLeave (TNotifyEvent) occur when the mouse pointer enter/leaves the control.
Protected properties:
| Property | Type | Default value | Meaning | 
|---|---|---|---|
| 
 | TAlignment | taLeftJustify | Text alignment. RTL BiDiMode inverts left and right alignments | 
| 
 | 
 | A link to a skin manager component. | |
| 
 | Integer | 0 | Index in a scheme in SkinManager.CurrentSkin (a scheme depends on the control type) | 
Additionally, for Delphi versions prior to 2009, this control introduces Unicode Caption (of TRVUnicodeString) type to use instead of ANSI string Caption (so Caption is Unicode in all versions of Delphi)