Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing ComboBoxes
Message
From
10/05/2000 14:32:01
Steven Kleypas
Tarrant County College District
Texas, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00368121
Message ID:
00368264
Views:
20
Paul,

>What are your combos bound to? It sounds like you don't have a valid option in whatever your
controls are bound to when the form instanciates. That would cause them to be blank until you
select something.

By bound to, do you mean a controlsource? There really isn't a controlsource. The selections for each control come from separate views originating from the same table. Each combo just presents a list of selections to the user to set up the view parameters for the primary biz object for the cListObjEdit control. I've tried setting the controlsource for the comboboxes to the field in their respective views (i.e. RowSource), but it didn't make any difference.


> If I've got a combo bound to a property on a form or bizobj I'll normally "preset"
the control right after it's been displayed or updated. What I mean by that is I'll grab the first entry
(usually in the view that the RowSource in the combo is tied to) and save that value in the property
so that I know the control source of the combo is valid.

I tried: This.Combobox.Value = v_LookupTable.cName in the ComboBox.Init(), but that didn't work. Is this what you mean?

Thanks for your time

Steven
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform