Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture in Combo!
Message
From
02/11/2005 03:45:12
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01064305
Message ID:
01064382
Views:
16
Hi Ali,

Picture support in versions before 8 was pretty sorry. To do what you're trying to do will require VFP 8 SP1 or VFP 9.


>Hi Everybody,
>
>I have a combo box with the following init()
>
>FOR my_Counter = 1 TO 21
>   ThisForm.Combo3.AddlistItem(ALLT(STR(my_Counter)))
>   thisform.Combo3.Picture[my_Counter] = "c:\img\Style" + ALLT(STR(my_Counter)) + ".bmp"
>ENDFOR
>
>I can only see the picture when the combo box list is open. When it is not, it only shows me a number. How do I force it to show the picture all the time. (like when I am going up and down by Up and Dn arrow keys.
>
>Thank you,
>Ali
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform