Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clicking on form is calling object's Valid method
Message
 
 
À
17/05/2001 10:41:12
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:
00508301
Message ID:
00508331
Vues:
23
This message has been marked as the solution to the initial question of the thread.
>I have a dropdown combobox which moves the pointer in a table and refreshes the form. The code for this is in the ComboBox's Valid method. The form has no code in it's Click method, but whenever I click on the form itself, the ComboBox Valid code is running. I do not make any calls to the Valid code and there is no code in the forms refresh (or subsequent objects) that do anything. As I've said in previous threads on other issues, I think I have a real problem understanding when certain events fire automatically...and why. Any idea why the Valid code is being called? Thanks!
>
>Regards, Renoir

Any time you attempt to leave a control, even by just clicking on some other object including the form object, the currently selecte object's Valid code will fire. If the Valid is TRUE, then its LostFocus will fire.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform