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

  1. 5 days ago

    Tim S

    Nov 12 Pre-Release Testers, Xojo Pro Phoenix Arizona USA

    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

  2. 4 days ago

    nicolás c

    Nov 13 Pre-Release Testers, Xojo Pro argentina

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

  3. Tim S

    Nov 13 Pre-Release Testers, Xojo Pro Phoenix Arizona USA

    Thank you Nicolas

    Tim

or Sign Up to reply!