Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing ComboBoxes
Message
De
10/05/2000 14:32:01
Steven Kleypas
Tarrant County College District
Texas, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00368121
Message ID:
00368264
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform