Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pictures for ComboBox Items
Message
De
16/01/2012 08:48:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01532992
Message ID:
01533018
Vues:
87
This message has been marked as a message which has helped to the initial question of the thread.
>So I got this to work only after manually adding items with AddItem(). If I use a data source it doesn't work.
>
>I suppose in hindsight that makes sense - a data source can update and blow away the order, but it's still kinda weird that it would even let you do this.
>

Yep, here's what we said in HackFox:

"The pictures for lists and combos can only be specified at runtime and are reset whenever the list or combo's Requery method is called. In addition, the pictures only "take" when you're using one of the RowSourceTypes where the list or combo really owns the data—0 (None), 1 (Value), 5 (Array), or surprisingly, 8 (Structure)."

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform