Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox not displaying ..
Message
De
17/09/2010 11:40:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01481611
Message ID:
01481623
Vues:
39
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform