scrollscroll*
*



Contents  *



Index  *Topic Contents
*Previous Topic: resizeTo
*Next Topic: scrollBy

scroll

Description

Causes the window to scroll to the specified x and y offset at the upper-left corner of the window. The preferred method for this is scrollTo; the scroll method is provided for backward compatibility only.

Syntax

object.scroll(x, y)

ParameterDescription
x (Long) Horizontal position, in pixels.
y (Long) Vertical offset, in pixels.

Return Value

No return value.

Applies To

window


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.