Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox not displaying ..
Message
From
17/09/2010 11:40:12
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01481611
Message ID:
01481623
Views:
40
No, it does not lose any of its ControlSource, RowSource, RowSourceType, or Value.

It only loses its DisplayValue and ListIndex.

There is no code in this objects Refresh event, and no other object refers to it.



>>I have already tried resetting the Value, ListIndex and ControlSource, all in the Refresh for the combo -- to no avail.
>>
>>A solution involving the Page does not appeal at all ... it has to be something I can handle within the combo class itself.
>>
>>Thanks
>>
>I've checked the code we have in such combo class
>
>I check if the controlsource is not empty then set ListIndex to 1 (in the Initialize method of this class) then later
>
> .rowsourcetype = 5 && Array
> .rowsource = "This.aRowSource"
>
>
>That's all. I don't think we have a problem of combo losing the value. May be it loses its controlsource ?
Jim Nelson
Newbury Park, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform