TSRVScrollBar.UseXPThemes

<< Click to display table of contents >>

TSRVScrollBar.UseXPThemes

Specifies whether the scrollbar uses VCL and Windows themes (visual styles), if they are available.

property UseXPThemes: Boolean;

VCL/Windows themes are used by the scrollbar if:

it is not skinned (SkinManager = nil, or SkinManager.CurrentSkin = nil, SkinSchemeIndex is not valid) and

SRVControlStyle = srvcsClassic

If a VCL theme is active (in Delphi XE2 or newer), it is used for drawing. Otherwise, Windows theme is used.

Note: when this scrollbar is inserted in a TSRichViewEdit document, theme drawing is scaled not completely correctly. We recommend using SRVControlStyle = srvcsSimple instead.

Default value

True