HLine (statement)

Syntax

HLine [lines]

Description

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

Comments

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

Example

This example scrolls the Notepad window to the left by three "amounts." Each "amount" is equivalent to clicking the right arrow of the horizontal scroll bar once.

Sub Main()

  AppActivate "Notepad"

  HLine 3       'Move 3 lines in.

End Sub

See Also

HPage (statement); HScroll (statement).

More information

H