Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This.Value = This.Value
Message
From
23/10/1998 21:42:33
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00149804
Message ID:
00150063
Views:
46
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform