|
TSRVWinControl is the base class for all SRVControls that are wrappers for Microsoft Windows screen objects.
Unit SRVControl;
Syntax
TSRVWinControl = class(TWinControl);
Hierarchy
TObject
TPersistent
TComponent
TControl
TWinControl
Properties and events
Public properties:
Property
|
Type
|
Default value
|
Meaning
|
Alignment
|
TAlignment
|
taLeftJustify
|
|
DrawOnPrint
|
Boolean
|
True
|
if True, this control will be printed
|
DisabledBorderColor
|
TColor
|
$B8D8D7
|
Border color in disabled state
|
DisabledBorderWidth
|
Integer
|
1
|
Border width in disabled state
|
EnabledBorderColor
|
TColor
|
$BF9F7F
|
Border color in normal state
|
EnabledBorderWidth
|
Integer
|
1
|
Border width in normal state
|
FocusedBorderColor
|
TColor
|
clBlue
|
Border color when the control is focused
|
FocusedBorderWidth
|
Integer
|
1
|
Border width when the control is focused
|
MouseIn
|
Boolean
|
|
Read-only. Returns True, if the mouse pointer is above the control
|
MouseInBorderColor
|
TColor
|
clRed
|
Border color when the control is below the mouse pointer
|
MouseInBorderWidth
|
Integer
|
1
|
Border width when the control is below the mouse pointer
|
Public events:
•OnMouseEnter, OnMouseLeave (TNotifyEvent) occur when the mouse pointer enter/leaves the control. Protected properties:
Property
|
Type
|
Default value
|
Meaning
|
SkinManager
|
TSRVSkinManager
|
|
A link to a skin manager component.
|
SkinSchemeIndex
|
Integer
|
0
|
An index in a scheme in SkinManager.CurrentSkin (a scheme depends on the control type)
|
ScrollBarSkinSchemeIndex
|
Integer
|
0
|
An index in SkinManager.CurrentSkin.VerticalScrollBarSchemes collection, for controls having scrollbars
|
ItemSkinSchemeIndex
|
Integer
|
0
|
An index in SkinManager.CurrentSkin.BoxSchemes collection, for controls having items
|
EditSkinSchemeIndex
|
Integer
|
0
|
An index in SkinManager.CurrentSkin.BoxSchemes collection, for controls having an embedded text editor
|
ButtonSkinSchemeIndex
|
Integer
|
0
|
An index in SkinManager.CurrentSkin.BoxSchemes collection, for controls having an embedded button
|
Inherited classes
•TSRVEditControl •TSRVCustomListBox
|