<< Click to display table of contents >> TSRVScrollBar |
TSRVScrollBar is a scrollbar, which is used to scroll the contents of a window, form, or control.
Unit SRVSBar.
Syntax
TSRVScrollBar = class(TSRVCustomControl)
TObject
TPersistent
TComponent
TControl
TWinControl
TCustomControl
This is a skinnable version of TScrollBar. These scrollbars are used in TSRichViewEdit.
If skins are not defined, the scrollbar appearance depends on SRVControlStyle property:
srvcsSimple (if RVControlsPainter.Theme = rvctPaleBlue):
srvcsClassic:
Appearance depends on UseXPThemes, Flat and Color properties.
TSRVScrollBar is a skinnable component. Skins are used when SkinManager and SkinSchemeIndex properties are assigned. You can draw various parts of the control yourself using custom drawing events.
If this control is not inserted in TSRichViewEdit control, we recommend to assign True to its DoubleBuffered property to prevent flickering.