Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform Gotchas! Wow!
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00450216
Message ID:
00450416
Vues:
51
Nadya,

If SET ESCAPE is OFF and you do not have a CommandButton on the form that is set to Cancel = .t., this ought to work in the form.KeyPress method:
if ( nKeyCode = 27 )
   nodefault
   this.EscapeHandler()
endif
>I'm the lurker :) How would you specify on escape in Form.KeyPreview? I'm thinking about adding new method in our thermometer class and I want to call this method on escape.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform