TSRVScrollBar.SRVControlStyle

<< Click to display table of contents >>

TSRVScrollBar.SRVControlStyle

Define appearance of this scrollbar.

property SRVControlStyle: TSRVControlStyle;

Customized scrollbar appearance is supported only in Delphi and C++Builder. In Lazarus, scroll-bars always have the standard system appearance.

This property is used if a skin is not assigned (see SkinManager and SkinSchemeIndex).

srvcsSimple (if RVControlsPainter.Theme = rvctPaleBlue):

scrollbar_simple

srvcsClassic:

If UseXPThemes = True, the scrollbar uses Windows themes (visual styles), if they are available. Otherwise, the scrollbar has 3d look. When the scrollbar is inserted in a TSRichViewEdit document, theme drawing is scaled not completely correctly. We recommend using srvcsSimple instead.

Default value:

srvcsClassic

This is the only control in ScaleRichView/SRVControls that has SRVControlStyle = srvcsClassic by default.