WebPage.ScrollTo

From Xojo Documentation

Revision as of 14:16, 14 August 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)