VScroll, VScroll()

Syntax

VScroll Percentage

VScroll()

Remarks

The VScroll statement scrolls vertically to the specified percentage of the document length. VScroll corresponds to dragging the scroll box on the vertical scroll bar.

The VScroll() function returns the current vertical scroll position as a percentage of the document length.

Example

This example scrolls to the middle of the active document:


VScroll 50

See Also

HScroll, VLine, VPage