Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On key label escape
Message
De
27/12/1999 23:25:00
 
 
À
27/12/1999 23:09:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00309049
Message ID:
00309053
Vues:
26
>If I am on pageframex of a form, I want to press Escape and go back to page 1.
>
>I would like to say:
> ON KEY LABEL escape thisform.pageframe1.activepage=1
>
> If I *could* do this in vfp, where would I put my command?
>
>thanks, r

Don't use an OKL, use a button whose Cancel property is set to .T.. It's click method will run when the user presses cancel on that form.

FWIW, this behavior defies windows standards that say a cancel or close button should be tied to the escape key.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform