Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spinner Will Not Refresh
Message
From
29/10/1998 09:47:41
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
 
 
To
29/10/1998 06:33:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00152169
Message ID:
00152284
Views:
24
When I go to my navigation buttons I have to an object to the list. What should I add? If my base class is Spinner, and subclass is abSpinner, how would Refresh spinners from here?

thanks
>>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?
>>
>>Thanks
>
>Couldn't you refresh only the spinner(s) from navigation buttons? Go in button's Click method and rightclick in the code window, then choose "Object List". There you'll find your spinner and by choosing it you'll get the correct reference to it. Then just add ".Refresh" to the reference and it should do it.
>
>Cheers
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