Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox not displaying ..
Message
 
 
À
17/09/2010 11:19:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01481611
Message ID:
01481616
Vues:
37
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...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform