HPage (statement)

Syntax

HPage [pages]

Description

Scrolls the window with the focus left or right by the specified number of pages.

Comments

The pages parameter is an Integer specifying the number of pages to scroll. If this parameter is omitted, then the window is scrolled right by one page.

Example

This example scrolls the Notepad window to the left by three "amounts." Each "amount" is equivalent to clicking within the horizontal scroll bar on the right side of the thumb mark.

Sub Main()

  AppActivate "Notepad"

  HPage 3      'Move 3 pages down.

End Sub

See Also

HLine (statement); HScroll (statement).

More information

H