Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box in grid doesn't show programmatically added va
Message
From
18/12/1997 15:02:08
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00066999
Message ID:
00067010
Views:
31
>VFP 3.0b
>
>When I programatically change the value of a field in grid that is displayed with a combo box, the value does not display when focus is on the combo box. If the focus moves off, the value is displayed. If the focus ever returns, the value does not show.
>
>The value displays if the value is in the list of values for the combo box, otherwise no value is shown.
>
>Has anyone seen this behaviour and found a workaround or better yet solution to it?

This is default behavior for a combobox. If the value of the field its tied to isn't in the list, nothing shows. The reason that it shows when focus is not on the cell, is that you have sparse set to .T., and the combobox isn't the control showing the value... the default textbox is.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform