>>>>>[snip] how to disable the ESC key on a form.
>>>>>Thanks!!!
>>>>
>Yes, in the keypress section I have "ON KEY LABEL F1 do form save"
>But the F1 reverts back to being 28 if the user hits ESC while in that certain textbox. Then hitting F1 puts a literal '28' in all the textboxes!
>then there's no way to properly exit the form
I just realized, maybe all the answer you want here is:
SET ESCAPE OFF
(maybe in the Textbox's GotFocus event, coupled with SET ESCAPE ON or SET ESCAPE &SavedValue in the Textbox's LostFocus event).
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing