AutoScroll Method

Applies To

Pane object.

Description

Scrolls automatically through the specified pane.

Note This method continues to run until you stop it manually by pressing a key or clicking the mouse.

Syntax

expression.AutoScroll(Velocity)

expression   An expression that returns a Pane object.

Velocity   Required Long. The speed for scrolling. Can be a number from – 100 through 100. Use – 100 for full-speed backward scrolling, and use 100 for full-speed forward scrolling.

See Also

LargeScroll method, PageScroll method, SmallScroll method.

Example

This example scrolls backward through the active window pane slowly.

ActiveWindow.ActivePane.AutoScroll Velocity:=-20
This example scrolls forward through the active window pane at full speed.

ActiveWindow.ActivePane.AutoScroll Velocity:=100