How Can We Help?
< All Topics
Print

$direction

Indicates the direction in which focus was moving when an event occurs.

Syntax

$direction

Return Value

A number (-1, 0, or +1.) Can be reset by an application program.

Description

The direction of travel of focus when an event occurred.

ValueMeaning
-1“Backward” direction. The focus was moving backward (with respect to the current TABORDER) when an event occurred.
0No direction. The focus is not moving.
+1“Forward” direction. The focus was moving forward (with respect to the current TABORDER) when an event occurred.

See Also

FORM INPUT

MENU INPUT

System Variables

WINDOW SET

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish