Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error using ON KEY LABEL in a From
Message
 
 
À
14/03/2008 11:12:36
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01301881
Message ID:
01302136
Vues:
12
>>>>I have this in MyForm.LOAD, but it gives an error regarding that it cannot be used outside a form.
>>>>
>>>>
>>>>ON KEY LABEL ESC THISFORM.CloseFormESC()
>>>>
>>>
>>>Borislav's solution is the better one.
>>
>>Yes, it's better.
>
>Why?

ON KEY LABEL is kind of a global command. If you need a particular functionality for the form, it is much better to code its KeyPress event instead.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform