TSRVScrollBarSkinScheme

<< Click to display table of contents >>

TSRVScrollBarSkinScheme

TSRVScrollBarSkinScheme is a class defining a visual appearance of scrollbars.

This is a class of items in the following collections:

TSRVSkinManager.Skins[i].HorizontalScrollBarSchemes;

TSRVSkinManager.Skins[i].VerticalScrollBarSchemes.

Unit SRVSkinManager.

Syntax

TSRVScrollBarSkinScheme = class(TCollectionItem)

Hierarchy

TObject

TPersistent

TCollectionItem

Properties

Name: TRVUnicodeString – a name of this scheme. This text is displayed at design time when editing collections.

Other properties define indices in TSRVSkinManager.Skins[i].Elements collection. All these properties are Integers, their default value is -1.

Buttons:

ImgDecButton for the left/top scrollbar button;

ImgIncButton for the right/bottom scrollbar button.

Thumbnail:

ImgThumbBegin for the left/top side of thumbnail;

ImgThumbEnd for the right/bottom side of thumbnail;

ImgThumbBackground for the thumbnail background;

ImgThumbCenter for drawing in the middle of thumbnail, above the ImgThumbBackground.

Border (the border is drawn above all other parts):

ImgBorderBegin for the left/top side of the scrollbar border;

ImgBorderEnd for the right/bottom side of the scrollbar border;

ImgBorderBackground for the middle part of the scrollbar border (since the border is drawn after all other content, this image must have a transparent area in the middle).

Background:

ImgBackground for the area between the buttons and the thumbnail.

Example

TSRVScrollBarSkinScheme