Pane.LargeScroll(Object, Object, Object, Object) Method

Definition

Scrolls the contents of the window by pages.

public object LargeScroll (object Down, object Up, object ToRight, object ToLeft);
Public Function LargeScroll (Optional Down As Object, Optional Up As Object, Optional ToRight As Object, Optional ToLeft As Object) As Object

Parameters

Down
Object

Optional Object. The number of pages to scroll the contents down.

Up
Object

Optional Object. The number of pages to scroll the contents up.

ToRight
Object

Optional Object. The number of pages to scroll the contents to the right.

ToLeft
Object

Optional Object. The number of pages to scroll the contents to the left.

Returns

Remarks

If Down and Up are both specified, the contents of the window are scrolled by the difference of the arguments. For example, if Down is 3 and Up is 6, the contents are scrolled up three pages.

If ToLeft and ToRight are both specified, the contents of the window are scrolled by the difference of the arguments. For example, if ToLeft is 3 and ToRight is 6, the contents are scrolled to the right three pages.

Any of the arguments can be a negative number.

Applies to