IHTMLControlRange::scrollIntoViewIHTMLControlRange::scrollIntoView*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLControlRange::item
*Next Topic: IHTMLControlRange::queryCommandSupported

IHTMLControlRange::scrollIntoView


HRESULT scrollIntoView(
    VARIANT varargStart
);

Scrolls the object into view, aligning it at either the top or bottom of the window.

varargStart
Boolean value specifying whether to place the object at the top of the window or at the bottom. If TRUE, the method scrolls the object so that its top is visible at the top of the window. If FALSE, the bottom of the object is visible at the bottom of the window. If no value is given, the object scrolls to the top by default.

Depending on the size of the given object and the current window, this method may not be able to put the item at the very top or very bottom, but will position the object as close to the requested position as possible.


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