Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spinner Will Not Refresh
Message
De
29/10/1998 08:07:41
 
 
À
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:
00152207
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?

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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform