Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Escaping
Message
 
À
25/08/1998 18:18:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00129896
Message ID:
00129901
Vues:
20
You can trap the ESC key in the form's keypress event:
if nKeyCode = 27
    nodefault
    thisform.release
endif
>I have a nice application that requires the user to use the close form button to close down any open form. I tie the escape key to the cancel button. Now they want to have the Escape key leave the form if the cancel key is deactivated.
>
>I'm trying to use ON ESCAPE but it does not seem to fire if the user is on a pageframe. Any ideas how to do this?
>
>Thanks
>
>John Brooks
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform