Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing ComboBoxes
Message
 
À
10/05/2000 12:08:54
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:
00368202
Vues:
23
>Yes, been using MM for a couple of years, just never ran into this problem. Pages 87-90 are dog-eared from turning them so many times!
>
>I checked the order of requerying the bizobj's and comboboxes and got it working better. However, the controls are still blank immediately after the form instantiates. After the initial selections of each of the comboboxes, they will refresh correctly. One other peculiarity: if the second or third choice within the child combobox is selected, and then a new parent choice is selected, the child box will go blank. hmmm...
>
>Thanks for your help, all suggestions are appreciated
>
>Steven

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. 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.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform