Page 1 of 1

SRVPageScroll SRichViewEdit ScrollBar

Posted: Tue Apr 01, 2014 6:50 pm
by devx
How to change the appearance (style) ScrollBar component in SRichViewEdit and SRVPageScroll independent themes windows ScrollBar.

Posted: Sat Apr 12, 2014 10:08 am
by Sergey Tkachenko
Scrollbars of SRichViewEdit can be customized using TSRVSkinManager component. Example can be found in Demos\ActionTestTabs\

Unfortunately, SRVPageScroll uses standard windows scrollbars. You can hide it (VScollVisible = False) and use an external TSRVScrollBar (that can be customized using TSRVSkinManager).
To update this external scrollbar, you can use VScollPos and VScrollMax properties of SRVPageScroll, its OnVScolled event, SRichViewEdit.OnPageCoutChanged event.

----

Alternatively, you can use VCL visual styles, if you use Delphi XE2 or newer.