Checkpoints position

General TRichView support forum. Please post your questions here
Post Reply
Mamat Teguh
Posts: 12
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: 12
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: 17566
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: 12
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
Mamat Teguh
Posts: 12
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).
Is this available in the last update?
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Checkpoints position

Post by Sergey Tkachenko »

Yes, it is available in the last update: https://www.trichview.com/forums/viewto ... 173#p38173
Post Reply