WebContainer.ScrollTo

From Xojo Documentation

Method

WebContainer.ScrollTo(X as Integer, Y as Integer)

New in 2013r1

Supported for all project types and targets.

Scrolls the contents to the specified position. X and Y represent the position of the contents that is located at the top-left corner of the WebContainer.

Example

Scroll the container back to the top left:

Container1.ScrollTo(0, 0)

See Also

WebContainer.ContentsScrolled