Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enter in a text box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00393414
Message ID:
00393945
Vues:
15
>Hi Nadya,
>
>> You don't need to call keypress from valid - NEVER DO THIS . If you do this, you screw up the sequence of events. KeyPress is an EVENT (not method) and it called automatically while you're typing something on keyboard.
>
>PMFJI,
>Yes and no. Calling KeyPress() (the method) will run the code that is executed when the Kepress Event fires. You will not cause the event by doing this. (To cause the KeyPress Event, use the Keyboard command, I believe.) I agree, however, calling the KeyPress() method in the valid is not good design.

Good point. Thanks for clarification. I was not quite right.
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