Hi Sergey,
I currently want to equip all controls from my program 'Patchwork' with scroll function with TSRVScrollBar, to be able to adapt the color of the scrollbars to the respective skin. But the event 'Scroll' always returns only scTrack, no matter what the user enters.
It works for the normal component TScrollbar, but unfortunately that is of no use to me.
Can you please let me know if there is anything I can adjust in the code to get the other ScrollCodes as well (csUp, csDown, etc.)?
Best regards
Martin
TSRVScrollBar.Scroll always returns only scTrack
Re: TSRVScrollBar.Scroll always returns only scTrack
I just noticed that the ScrollCode option may not be necessary for controlling other controls like list boxes or memos.
But how can I scroll in a TRichViewEdit without the ScrollCode?
But how can I scroll in a TRichViewEdit without the ScrollCode?
-
- Site Admin
- Posts: 17553
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TSRVScrollBar.Scroll always returns only scTrack
I'll see if it can be fixed. But YSRVScrollBar is used internally by TSRichViewEdit component, and ScrollCode is simply ignored, only ScrollPos is used.
Re: TSRVScrollBar.Scroll always returns only scTrack
Sergey, this is not important by now - so I don't need it.
For this, could you please tell me how I can scroll in a TRichView(Edit) with ScrollPos? That would help me a lot.
For this, could you please tell me how I can scroll in a TRichView(Edit) with ScrollPos? That would help me a lot.