SetVerticalScrollPos  Method

Description         The SetVerticalScrollPos method adjusts the position of the vertical scroll bar.

Syntax                 RetVal = [BIDisp.]SetVerticalScrollPos  scrollPos

Returns               RetVal                    Long                If the method was successful the RetVal is 0, otherwise an error code is returned.

                            scrollPos                 Long                The new position of the vertical scroll bar.

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.