Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On Escape
Message
De
15/04/2002 09:34:07
Mike Yearwood
Toronto, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00644916
Message ID:
00644985
Vues:
16
Hi

Wouldn't a button on the form do as well? The button can have the cancel property set to .T. In the button's click, you can ...

DODEFAULT()
THISFORM.Release()

I reserve OKL and ON ESCAPE for getting out of running processes.

HTH

>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