GetVerticalScrollPos  Method

Description         The GetVerticalScrollPos method returns the position of the vertical scroll bar.

Syntax                 RetVal = [BIDisp.]GetVerticalScrollPos

Returns               RetVal                    Long                The RetVal is the vertical scroll bar position. If  the vertical scroll bar doesn’t exist the RetVal is -1.

See Also              GetHorizontalScrollPercent Method, SetHorizontalScrollPercent Method, GetVerticalScrollPercent Method, SetVerticalScrollPercent Method, SetHorizontalScrollPos Method, GetVerticalScrollPos Method, SetVerticalScrollPos Method, GetHorizontalScrollPos Method

Code example    For an example on how to scroll the image with the mouse wheel using the DisplaySetScrollPos function, please see the How to scroll an image with the mouse wheel page.