Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
YAQ on order on instantiation
Message
From
14/02/2008 17:25:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01292806
Message ID:
01292817
Views:
28
This message has been marked as the solution to the initial question of the thread.
>>>Makes sense (except in the case where I need the order to be reversed <g>). Thank you for your help.
>>
>>Well, what is your specific problem or requirement? Perhaps there is a workaround.
>
>I am sure there is a work around. Otherwise, I am in trouble <g>.
>
>Here is the brief explanation.
>
>I have a combo box in a container. The RecordSource for this combo box is an array. To populate this array, in the INIT method of the combobox calls a method of the container. But it bombs there because the method of the container relies on a property set in the INIT method of the container (which has not fired yet). So I have to reconsider the entire sequence of how to populate this array.

In a specific instance, you could of course populate the ComboBox from the Container.Init(). If you want a more generic solution (for any ComboBox placed in this kind of Container)... well, I don't know. Perhaps the Container could check whether it contains this specific type of ComboBox.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform