Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo won't refresh unless stepping through code
Message
De
01/07/2004 11:28:24
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00919410
Message ID:
00919651
Vues:
12
>this is driving me crazy! I have a dropdown list combo that has an interactive change method which updates another field on the form.
>
>When I select an item from the list, the field updates correctly, but the combo doesn't show the updated value. Sometimes I can see it, very briefly, show the value, then immediately flip back to the original value.

I see a number of suggestions, have any of them helped? If not consider the following. Is BoundTo .T. or .F.? Is the bound column a numeric field? If the code isn't extensive for the InteractiveChange, can you post it? What is the row source? A sql statement, fields list, or other?

Finally, if none of this helps, I'd suggest simplifying the code so you can identify where the problem is occuring. If you think it's the interactive change, just comment the whole method. It won't refresh the other control, of course, but if you see the combo refresh correctly, then incrementally add back in the code til you identify the culprit.

HTH.
>
>the kicker is that if I set a "set step on" into the interactive change event, then press resume, the combo always refreshes correctly!
>
>What's happening here???

Set Step On activates the debugger window which forces a refresh of your form.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform