Macro Reference — Window Object — scrollBy Method (Window Object)

# scrollBy Method (Window Object)

Scrolls the window by the specified relative amount.

##

### [JavaScript]

    scrollBy( dx, dy);

### [VBScript]

    scrollBy dx, dy

## Parameters

dx

Specifies a horizontal amount to scroll in columns.

dy

Specifies a vertical amount to scroll in lines.

## Version

Supported on EmEditor Professional Version 4.00 or later.