WebPage.ScrollTo

From Xojo Documentation

Method

WebPage.ScrollTo(x as Integer, y as Integer)

New in 2012r1

Supported for all project types and targets.

Scrolls the window to the specified coordinates.

Notes

This sets the scroll position for ALL WebPages.

Example

This code scrolls to the top of the window.

Self.ScrollTo(0, 0)