Page 1 of 1

Checkpoints position

Posted: Tue Jun 23, 2020 3:09 am
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

Re: Checkpoints position

Posted: Tue Jun 23, 2020 4:28 am
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

Re: Checkpoints position

Posted: Tue Jun 23, 2020 10:31 am
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).

Re: Checkpoints position

Posted: Tue Jun 23, 2020 11:20 am
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

Re: Checkpoints position

Posted: Thu Aug 06, 2020 7:39 pm
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?

Re: Checkpoints position

Posted: Fri Aug 07, 2020 8:28 am
by Sergey Tkachenko
Yes, it is available in the last update: https://www.trichview.com/forums/viewto ... 173#p38173