Enabling/disabling the CANCEL key (sys.Cancel)ΒΆ
sys.Cancel,,i1 |
Determines if operator can abort input with CANCEL key |
Enables or disables recognition of the CANCEL key during keyboard input. It may be set to ON or OFF.
If sys.Cancel is ON, then pressing the CANCEL key during an input statement causes an automatic clear to be executed, and control to pass to the menu bar. Any data already entered in other textboxes is retained.
If sys.Cancel is OFF, then the CANCEL key is ignored during input.
By default, sys.Cancel is ON.
It is useful to switch sys.Cancel OFF if a related series of inputs and file updates is taking place which must be completed without interruption, or in any situation where it is crucial to subsequent operations that data is correctly entered. When data entry needs to be quick and easy to escape from, it is more useful to switch sys.Cancel ON.
NOTES
The CANCEL key is defined by Section 5 (Sent by Sequences), sequence 43 in the terminal parameter file. If the parameter file entry is left blank, then sys.Cancel is always effectively OFF as no CANCEL keystroke or sequence exists.
The CANCEL key is valid only within an input statement. It should not be confused with the INTERRUPT key which, if enabled, is recognised at any time. Even if sys.Cancel is OFF, the user can still abort by using the INTERRUPT key, provided that the Sculptor system variable sys.Interrupts is OFF.
sys.Cancel does not affect the dialog command.
RELATED TOPICS |