Relative Scroll


#1

Hello,
I have two dynamic panels A and B. Both are scrollable.
I want to scroll panel B on scroll of panel A and vice versa and also control how much is scrolled.

Is there a way to do this?

Thank You.


#2

Yes, you can do this. I found this old post describing how to directly control scrolling:

Applying this approach to the Scrolled event of a dynamic panel was pretty straightforward. It made a fun little demo with two dynamic panels with quantum entanglement! …Or, you know, yolked scrolling. I added in a few demonstrations of common scrolling features, like “press & hold” buttons for continuous scrolling, and scrolling to a section anchor, as well as scrolling by a custom amount.

Yolked Scrolling.rp (96.6 KB)