Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On Escape
Message
De
15/04/2002 07:15:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00644916
Message ID:
00644951
Vues:
13
Geoff,

I wouldn't use set escape or on key label on a form. Normally, you have a button on the form that is for "close" or "cancel" that calls the necessary methods to close the form. If you look at the properties on a command button, you will see a property called "cancel". If you mark that as true rather than the default of false, that button action takes palce when they hit escape. There is also a "default" property that can be set if you wan one button to be used if they hit enter.

Hope this helps,
Bill

>Hi
>
>I am wanting to allow the user to 'ESCAPE' from a form instead of forcing them to click the close box.
>
>I have tried putting
>
>
>SET ESCAPE ON
>ON ESCAPE thisform.release()
>
>
>in the
Init method
but the trigger never takes.
>
>Can someone explain where I've gone wrong.
>
>Regards
>Geoff Scott
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform