Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pictures for ComboBox Items
Message
From
16/01/2012 08:48:38
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01532992
Message ID:
01533018
Views:
88
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
Previous
Reply
Map
View

Click here to load this message in the networking platform