Bewerken

Delen via


Window.SmallScroll(Object, Object, Object, Object) Method

Definition

Scrolls the contents of the window by rows or columns.

public object SmallScroll (object Down, object Up, object ToRight, object ToLeft);
Public Function SmallScroll (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 rows to scroll the contents down.

Up
Object

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

ToRight
Object

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

ToLeft
Object

Optional Object. The number of columns 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 rows.

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 columns.

Any of these arguments can be a negative number.

Applies to