Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo won't show DisplayValue
Message
 
 
À
16/01/2008 13:19:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01282338
Message ID:
01282349
Vues:
28
>>Can you move the re-creating method to a separate method of the form and unbind the combo before re-creating the cursor? E.g.
>>
>>combo.RowSource=''
>>recreate the cursor
>>combo.RowSource = 'myCursor'
>
>In fact, the cursor is never recreated. The only place Requery is called is in the Init method. And when the form first opens, the combo shows the right value.
>
>Tamar

Tamar,

I see, but I would still suggest to use a different method, not combo's method. In form's Init call a method to set combo's properties. Leave RowSource blank in the properties sheet.

This way you would be sure it's not contributing to the problem.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform