Window.LargeScroll(Object, Object, Object, Object) Method

Definition

Scrolls a window or pane by the specified number of screens.

public void LargeScroll (ref object Down, ref object Up, ref object ToRight, ref object ToLeft);
abstract member LargeScroll : obj * obj * obj * obj -> unit
Public Sub LargeScroll (Optional ByRef Down As Object, Optional ByRef Up As Object, Optional ByRef ToRight As Object, Optional ByRef ToLeft As Object)

Parameters

Down
Object

Optional Object. The number of screens to scroll the window down.

Up
Object

Optional Object. The number of screens to scroll the window up.

ToRight
Object

Optional Object. The number of screens to scroll the window to the right.

ToLeft
Object

Optional Object. The number of screens to scroll the window to the left.

Remarks

The LargeScroll method is equivalent to clicking just before or just after the scroll boxes on the horizontal and vertical scroll bars.

If Down and Up are both specified, the window is scrolled by the difference of the arguments. For example, if Down is 2 and Up is 4, the window is scrolled up two screens. Similarly, if ToLeft and ToRight are both specified, the window is scrolled by the difference of the arguments.

Any of these arguments can be a negative number. If no arguments are specified, the window is scrolled down one screen.

Applies to