How can I get the position of TScrollBox in TLayout while panning?

  

I’m using a parent FMX.Layouts.TScrollBox to zoom and pan through a child TLayout. Once the TLayout gets bigger than the TScrollBox, panning is possible.

I’d like the (top left) position of the TScrollBox .

Looking through both TScrollBox & TLayout properties I cannot find a position that works for me (tried many). There’s other ways to do it, but it seems standard to me and should(?) be included in the base class.

PS: For panning I use TScrollBox.AniCalculations but I don’t think that matters/helps.

Comments are closed.