Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box Won't Refresh
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00725372
Message ID:
00725407
Views:
8
Hi Jeffrey.

Maybe the field values (in the local grid) do not match exactly any of the defined values in the combo -trailing spaces, for instance, could prevent them from matching-

If that is the case, and your combo allows typed in values, then it will show the "out of list" previous value instead of dropping down the list on the first attempt; I guess that behavior is by design to protect your input.

Try matching both sets of values to check if this is indeed the problem.

Regards,
Jose.

>I have a page frame set. On tab 1 is a grid bound to a local view. On tab 2 are combo boxes (3 of them) bound to fields in the view. When I change records in the grid on tab 1, I enable/disable other tabs in the pageframe set and that works fine (so I know the record pointer is moving). But when I go to tab 2, and click on a combo box, instead of dropping down the list it displays the item chosen the last time i used that combo box. If I click on it again it then pulls down the list as expected. I have tried putting in the tab2.activate thisform.refresh, the combobox.refresh and the combobox.requery (even though its source is a value list typed in). None of these change this behavior. For debugging, I put a wait window of combobox.value and it shows the previous records value. What do I need to do to cause a "refresh" of this control besides clicking on it twice?
------------------
Jose Marcenaro
Tercer Planeta - Argentina
http://www.tercerplaneta.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform