xHarbour Reference Documentation > Command Reference xHarbour Developers Network  

SET ESCAPE

Sets the ESC key as a READ exit key.

Syntax

SET ESCAPE ON | off | ( <lOnOff> )

Arguments

ON | off | ( <lOnOff> )
This option toggles whether or not the ESC key is an exit key for the READ command. The default is ON or .T. (true), i.e. ESC terminates READ. To change the setting use OFF or .F. (false) as parameter. The parameter can also be specified as a logical expression enclosed in parentheses.

Description

The SET ESCAPE command enables or disables the ESC key as exit key for the READ command. When enabled, the ESC key voids all changes made in the buffer of the current GET object and ends the user input. With SET ESCAPE OFF, the ESC key is ignored during the READ command.

Note that SET KEY allows for associating a procedure with a key. This may override the SET ESCAPE setting.

Info

See also:READ, ReadExit(), Set(), SET KEY, SetCancel(), SetKey()
Category: SET commands
Header:set.ch
Source:rtl\set.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe