Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This.Value = This.Value
Message
De
23/10/1998 21:42:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00149804
Message ID:
00150063
Vues:
49
Hi,

Would it be possible to put together all such 'Work arounds'/'Gotchas' together in a single document for the uninitaited, so that they could start fore-warned?

Prakash

>Federico,
>
>This behavior is rooted in the way the controls update their controlsources. The update occurs when the control is losing focus. The interactivechange fires before the control has updated its controlsource, so teh Refresh call causes the control to reread its controlsource (which is still the previous value) and refresh its display to reflect the controlsource's value.
>
>This is a good example of why it si better to refresh specfic controls rather than the shot gun effect of refreshing the enitre form. If your InteractiveChange was to only refresh the other control you would not see this behavior.
>
>The THIS.Value = THIS.Value causes the spinner to update its controlSource with the new value and therefore the subsequent refresh reads the new value from the controlsource.
Prakash R Bhat
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform