Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help ESC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00759032
Message ID:
00759126
Vues:
26
>>>>>[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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform