Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spinner Will Not Refresh
Message
De
29/10/1998 06:33:38
 
 
À
29/10/1998 06:23:07
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00152169
Message ID:
00152174
Vues:
23
>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
Danijel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform