property Surface.ScrollPos(Vertical as Boolean) as Long
Specifies the vertical/horizontal scroll position.
Type
Description
Vertical as Boolean
A Boolean expression that specifies the surface's vertical or horizontal
posituion
Long
A long expression that specifies the scroll position.
The control's ScrollPos,
ScrollX and ScrollY
properties specify the surface's scroll position. The ScrollX property is
equivalent with ScrollPos(False), and the ScrollY property is equivalent with
the ScrollPos(True). Use the ScrollTo
method of the control to scroll the surface at specified position. The MovePoint
method of the control moves the surface from the one point to another. The MoveCorner
method scrolls the surface from a corner to another. The ScrollTo method ensures that the element fits the
surface's visible area. The AllowMoveSurface
property specifies the combination of keys that allows the user to move the surface.