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


take a look at this example…
and/or this link

Thank you Nicolas