[FMX] How do I handle scroll events for a ScrollPane?

Excuse my flash-n00bness if this is obvious, but I’ve wasted 3 or 4 hours searching for how to do the following, and can’t even determine if it’s actually possible:

Write a function that gets automatically called when the user scrolls the content of a scrollpane

To be more specific, I have 2 scrollpanes, and I want to make it such that if you scroll down on the first one, the sceond one automatically scrolls down by the same amount.

I have seen some discussions where people mention “onScroll” but I can’t find any tutorials or documentation that describe such syntax or funtionality.

Another avenue I was pursuing was to somehow add to the onRelease event of the scrollpane such that it would have extra code to adjust the second scrollpane’s position, something like:

 
ScrollPane1.onRelease = function() {
  FScrollPane.prototype.onRelease();
  ScrollPane2.setScrollPosition( ScrollPane2.getScrollPosition().x, ScrollPane1.getScrollPosition().y );
}

When I do this, I can’t scroll the scroll bars any more, so it’s definitely messing up the ScrollPane object…

Anyone with elightened ideas?

—mengo.