Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox not displaying ..
Message
De
17/09/2010 11:28:15
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01481611
Message ID:
01481618
Vues:
31
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



>In the page Activate you may try
>
>myCombo.requery()
>
>or
>
>myCombo.value = myCombo.Value && if the value is correct
>
>
>>Those values are not set in code, they are properties that are saved in the object.
>>
>>I'm not sure what you are suggesting about ListIndex, not where you are suggesting that I put it.
>>
>>When I come back to the back (that is, when the value is not displayed correctly), the Value Property is correct, but ListIndex is 0 and DisplayValue is empty.
>>
>>I tried setting .Value = .Value in Refresh, but to no effect.
>>
>>
>>
>>>>I'm having a problem with a combobox showing up blank ...
>>>>
>>>>It is on page 3 of a pageframe. The first time I select this page, the display is correct. If I select another page, and then return to page 3, it is empty. However, if I then click on it, it displays correctly.
>>>>
RowSourceType = 5
>>>>RowSource = 'This.aRowSource'
>>>>BoundTo = .T.
>>>>BoundColumn = 2
>>>>
>>>>The ControlSource is numeric.
>>>>
>>>>Anybody with any suggestions?
>>>
>>>Try switching RowSource/RowSourceType statements around. I think we had a similar problem - I will need to dig for the solution.
>>>You may do something like
>>>
>>>this.ListIndex = this.ListIndex or similar things...
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform