Table of contents
Collapse the table of content
Expand the table of content

WebBrowserControl.ScrollTop Property (Access)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Gets or sets the distance, in pixels, between the top edge of the WebBrowser object and the topmost portion of the content currently visible in the control. Read/write Long.


expression. ScrollTop

expression A variable that represents a WebBrowserControl object.


This property value equals the current horizontal offset of the content within the scrollable range. Although you can set this property to any value, if you assign a value less than 0, the property is set to 0. If you assign a value greater than the maximum value, the property is set to the maximum value.

This property is always 0 for objects that do not have scroll bars. For these objects, setting the property has no effect.

See also


WebBrowserControl Object

© 2018 Microsoft