SRVPageScroll SRichViewEdit ScrollBar
SRVPageScroll SRichViewEdit ScrollBar
How to change the appearance (style) ScrollBar component in SRichViewEdit and SRVPageScroll independent themes windows ScrollBar.
-
- Site Admin
- Posts: 17565
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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.
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.