Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InteractiveChange not registering in time
Message
De
23/01/2002 19:29:16
 
 
À
23/01/2002 18:53:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00609321
Message ID:
00609454
Vues:
12
Hello James.

Does that mean this should work?
If This.Valid()
    ThisForm.AddQuery()
EndIf


No it does not. Calling the Control's Valid() in code does not cause the event to fire. It merely runs any code in the method. If you want the event to fire, you have to do something like this:

This.SetFocus()

Also, is this only the case for comboboxes? (The textbox controls seem to work how I expect them)

No. The same is true for text boxes as well. They do not update their controlSources from their values until the Valid() fires.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform