Syntax |
VScroll percentage |
Description |
Sets the thumb mark on the vertical scroll bar attached to the current window. |
Comments |
The position is given as a percentage of the total range associated with that scroll bar. For example, if the percentage parameter is 50, then the thumb mark is positioned in the middle of the scroll bar. |
Example |
This example prints a bunch of lines to the viewport, then scrolls back to the top using VScroll. Sub Main() "BasicScript Viewport",100,100,500,200 For i = 1 to 50 Print "This will be displayed on line#: " & i Next i Message$="We will now go to the the top " MsgBox Message$ VScroll 0 VScroll 0 MsgBox " and here we are!" End Sub |
See Also |
V |