Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This.Value = This.Value
Message
From
29/10/1998 13:53:05
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00149804
Message ID:
00152437
Views:
51
With a spinner what would be an example of non-shotgun way of refreshing just one spinner on a pageframe?

ray
>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.
Some days it's not worth chewing through the leather straps ...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform