Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture in listbox and combobox
Message
From
24/09/1998 10:23:18
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00139869
Message ID:
00140350
Views:
30
>>Hi all,
>>I would like to get a different picture for each line in a listbox and combobox. For example, if each line is a car, I wold like to show a different icon for each model. It's possible? How?
>>Thanks.
>
>Jose, you should fill the listbox using AddItem() and then specify the picture for each item individually:
>
>Listbox.AddItem("Chrysler Intrepid")
>Listbox.Picture[1] = "intrepid.bmp"
>Listbox.AddItem("Ford Taurus")
>Listbox.Picture[2]= "taurus.bmp"

Eheheh... I have a name for this... "Brag code". :-)))
Alexandre Nobre
Alpha Bytes Computer Corp.

Did you know that there are innocent people dying in East Timor?
It helps if you do...

I suppose you don't need glasses if you're able to read this line

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform