Checkpoints position

General TRichView support forum. Please post your questions here
Post Reply
Mamat Teguh
Posts: 10
Joined: Sun Jun 14, 2020 7:16 pm

Checkpoints position

Post by Mamat Teguh »

Hi! Is it possible to call Checkpoint so it would appear on the center of the page (not on top of page)? And can we make the transition scroll smooth not instant?
Thanks for help

Mamat Teguh
Posts: 10
Joined: Sun Jun 14, 2020 7:16 pm

Re: Checkpoints position

Post by Mamat Teguh »

Okay, i found it: GoToCheckpoint in RichViewActions.pas. Problems solved!

Just one more thing, how to make the transition scroll smooth not instant

Sergey Tkachenko
Site Admin
Posts: 15238
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Checkpoints position

Post by Sergey Tkachenko »

In the next update, I'll add a new optional SmoothScroll parameter to rv.ScrollTo and rv.ScrollToDrawItem, and GotoCheckpoint will use it (both for TRichViewEdit and ScaleRichView).

Mamat Teguh
Posts: 10
Joined: Sun Jun 14, 2020 7:16 pm

Re: Checkpoints position

Post by Mamat Teguh »

Sergey Tkachenko wrote:
Tue Jun 23, 2020 10:31 am
In the next update, I'll add a new optional SmoothScroll parameter to rv.ScrollTo and rv.ScrollToDrawItem, and GotoCheckpoint will use it (both for TRichViewEdit and ScaleRichView).
Thanks! Can't wait! :D

Post Reply