Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help ESC
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00759032
Message ID:
00759126
Views:
19
>>>>>[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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform