Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo won't refresh unless stepping through code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00919410
Message ID:
00919794
Vues:
12
My thanks to all the quick responses to this problem. For some reason, the valid works just fine and the interactive change keeps putting the old value back on the screen. There's no good reason to put the code in the int change, so I moved it and everything works great!

Thanks again....what a great resource!


>>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.
>>
>>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???
>>
>>As always, thanks in advance!
>
>I suggest moving the code from the InteractiveChange to the Valid. You're probably running code that's relying on the user's selection, and the InteractiveChange is too early in the event model to have recorded that selection. (Note: the valid for a combo fires as soon as the user makes a selection, not when they try to leave the combo.)
Steve Howie, owner
DaSH Technology
Denver, CO
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform