Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spinner Will Not Refresh
Message
From
29/10/1998 08:07:41
 
 
To
29/10/1998 06:23:07
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00152169
Message ID:
00152207
Views:
22
>VFP 5. PageFrame 5 tabs.
>
>On each Page I have some spinner controls. When they exceed a certain value I switch back and fore colors to indicate to the user that a threshold has been reached. I have a grid on page 2. If I am on page 1 and navigate up and down with navigation buttons the record pointer moves, but the spinners do not stay refreshed in a manner that reflects there current value > 5 turn red; < 5 stay blue. ONLY when I activate a different tab and come back to page 1 do the controls refresh. This seems like a elementary problem, but I can't seem to make it work reliably.
>
>I've tried This.Refresh at the form activate, and a variety of other things. Anyone have any suggestions?

This may sound crazy, but bear with me... Try adding THIS.VALUE=THIS.VALUE at the top of the method which changes colors; I had similar problems with spinners and this solved them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform