Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spinner Will Not Refresh
Message
From
29/10/1998 10:17:07
 
 
To
29/10/1998 10:02:06
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:
00152312
Views:
22
>A 4 tab pageframe, with a grid on tab 2. Bound controls, with several spinners on tabs 1, 3 & 4. The back and foreground color of the spinners change individually based on when a individually specific value is chosen e.g. 3 for spinner 1, and 12 for spinner 2 etc. When these values are chosen the spinner turns red. This works fine. When the record pointer is moved with standard nav buttons the new values in the spinner are not resetting the colors. If I go to the grid and come back to the front tab then they refresh (this causes the active page to refresh). The problem is it seems I have to re-activate the current page coming from the grid OR another page to make everything refresh correctly.
>
>I have code in the Activate prop to evaluate the value of each spinner and set the colors correctly. But this only seems to work if I move off the page and come back.
>
>thanks
>

Ok, the code that executes when you click your navigation buttons (moving a record pointer +1, right). Right after that code is done, rightclick in the code window there, choose "Object List" and find those spinners one by one, and FoxPro will insert the correct reference from where you're at. Than just add ".Refresh" or ".ForeColor" or whatever you want to those references Fox inserts for you...

Regards
Danijel
Previous
Reply
Map
View

Click here to load this message in the networking platform