WINDOW SET SCROLL

Establishes SCROLL keys for the current window.

Syntax

WINDOW SET SCROLL [«action keyname»]

Parameters

action

Can be
UP, DOWN, LEFT, RIGHT, PAGEUP, PAGEDOWN, HOME, END, JUMPUP, JUMPDOWN, JUMPLEFT, JUMPRIGHT

keyname

Can be any of the following pre-defined key names:
F1 through F100, ESCAPE, RETURN, ENTER, UP, DOWN, LEFT, RIGHT, PAGEUP, PAGEDOWN, HOME, END,
JUMPUP (Ctrl-Up), JUMPDOWN (Ctrl-Dn),
JUMPLEFT (Ctrl-Lf), JUMPRIGHT (Ctrl-Rt),
TABFORWARD (Tab), TABBACK (Shift-Tab)
If keyname is a character string other than a pre-defined key name, each character in the string becomes a scroll key.
Any combination of keys can be specified in a single command.

Comments

A scrolling key can potentially also be defined as an accelerator key (using the WINDOW SET ACCELERATOR command).

Until you execute a WINDOW SET SCROLL command, no scrolling keys are in effect for the given window.

Once you execute a WINDOW SET SCROLL command that names keys, those keys remain in effect as scrolling keys, with their assigned scrolling actions, until changed or disabled by another WINDOW SET SCROLL command.

A WINDOW SET SCROLL command that names no actions or keys disables all existing scrolling keys for the current window.

 

Related Topics