Rob,
Try this
 
enter using formname
set var lkey = (lastkey(0))
if lkey = '[Esc]'  then
   do whatever
endif
return
 
Bernie lis
Megabytes, Inc.
 
P.S.  Bill Downall, take note, I gave this example using single quotes!
 
----- Original Message -----
Sent: Wednesday, September 04, 2002 9:52 PM
Subject: Re: Disable [Esc] on Forms

SET ESCAPE OFF has no effect on disabling the [Esc] while in a form.
 
From my understanding, it prevents program files from being interrupted
during processing.
 
Thanks for the idea though...  I had forgotten about that SET keyword.
 
- Rob

Reply via email to