Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Escaping
Message
De
25/08/1998 23:28:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00129896
Message ID:
00129927
Vues:
18
And remember to set Form.KeyPreview = .T.

>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
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform