How to scroll to a part of a page?

Hello all,

Can anyone tell me how to scroll a page to a certain point? In my case I have a search field near the top. It will fill a grid downpage. I want to scroll to that location. BTW, in my case, the grid is within a Container.

Thanks,
Tim

WhateverControl.SetFocus() will move you to that control

1 Like

Interesting… I did the same but without the (). Worked with, but not without

Thanks Rick!
Tim

1 Like

Also, theWebPage.ScrollTo(x,y) will bring the position x,y into the view, like

Self.ScrollTo(0,0) // Move to the top

1 Like