How to scroll to an x/y of a canvas or form?

Hello all.

I want to move the focus to that an x/y position selected of a form or canvas. What is the best way to do this?

Currently I have tried this code but no go…

frmmain.V_ScrollBar.Value = RowSelected 
frmmain.H_ScrollBar.Value = ColSelected

Thanks.
Tim

take a look at this example…
http://xojobyexample.com/holy-scroller/
and/or this link
https://documentation.xojo.com/index.php/Canvas.Scroll

Thank you Nicolas

Tim