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
Checkpoints position
-
- Posts: 12
- Joined: Sun Jun 14, 2020 7:16 pm
Re: Checkpoints position
Okay, i found it: GoToCheckpoint in RichViewActions.pas. Problems solved!
Just one more thing, how to make the transition scroll smooth not instant
Just one more thing, how to make the transition scroll smooth not instant
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Checkpoints position
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).
-
- Posts: 12
- Joined: Sun Jun 14, 2020 7:16 pm
Re: Checkpoints position
Thanks! Can't wait!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).
-
- Posts: 12
- Joined: Sun Jun 14, 2020 7:16 pm
Re: Checkpoints position
Is this available in the last update?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).
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Checkpoints position
Yes, it is available in the last update: https://www.trichview.com/forums/viewto ... 173#p38173