WebPage.ScrollTo

From Xojo Documentation

Revision as of 05:35, 25 January 2022 by Gperlman (talk | contribs) (Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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)