This statement scrolls the pixels in the rectangle
(h1,v1)-(h2,v2), by a horizontal distance of
hPixels% and a vertical distance of
vPixels%, in the current output window. Positive values of
hPixels% scroll to the right; positive values of
vPixels% scroll downward; use negative values to scroll in the opposite direction(s).
scroll is often used in conjunction with scroll bars to view a graphic that is too large to fit entirely in the window.
scroll generates a
_wndRefresh event, which your program can detect in its dialog-event handling routine the next time a
HandleEvents statement is executed. Your dialog-event handling routine should respond to this event by redrawing the portion of the window that was left blank by the scroll. If you don't redraw this area explicitly, it will be filled with the window's current background color and pattern.
scroll button; on dialog