srvscrollbar TSRVScrollBar

Properties   Events  | Overview

<< Click to display table of contents >>

srvscrollbar TSRVScrollBar

Properties   Events  | Overview

TSRVScrollBar is a scrollbar, which is used to scroll the contents of a window, form, or control.

Unit SRVSBar.

Syntax

TSRVScrollBar = class(TSRVCustomControl)

Hierarchy

TObject

TPersistent

TComponent

TControl

TWinControl

TCustomControl

TSRVCustomControl

Description

This is a skinnable version of TScrollBar. These scrollbars are used in TSRichViewEdit.

Visual appearance

If skins are not defined, the scrollbar appearance depends on SRVControlStyle property:

srvcsSimple (if RVControlsPainter.Theme = rvctPaleBlue):

scrollbar_simple

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.

SRVScrollBar Scheme

If this control is not inserted in TSRichViewEdit control, we recommend to assign True to its DoubleBuffered property to prevent flickering.