Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box Headache
Message
From
03/07/2003 16:51:18
 
 
To
03/07/2003 16:43:26
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00806722
Message ID:
00806743
Views:
23
I call the Requery in the Valid event. The array shows the value added. I even do ASORT and it puts it in the right order.

The display goes blank when I leave the control (after the valid).

>Do you Requery() after adding the new value?
>
>good luck
>
>
>>I've been struggling with this all day. I've got a combo box that holds a list of freight carriers. If a freight carrier is listed, that's fine, they can select it. However, if the carrier is not in the list, they are allowed to type the name in. I have a ControlSource set to an object's property, cCarrier. The RowSource is set to another property, aCarrier (an array, 'natch). RowSourceType is 5-Array.
>>
>>(For all you VB and Access programmers)
>>See the combo box. See the combo box value. Look!! Look!! See the property change! See the array update!! Look! Look!! Wha-- !?!! See the display go away! Poor operator!
>>
>>(For the VFP programmers)
>>When the operator inputs a value, I see the (valid event) combo box value populating the object property. I see the valid event updating the array. But when the focus shifts from the combo box, the DisplayValue goes blank.
>>
>>Any ideas out there?
>>
>>Thanks
>>
>>Tim
Duty is ours, the results are God's - John Quincy Adams
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform