Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing ComboBoxes
Message
 
To
10/05/2000 12:08:54
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:
00368202
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform