Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture in listbox and combobox
Message
 
À
24/09/1998 10:23:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00139869
Message ID:
00140355
Vues:
24
>>>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". :-)))

Right, don't buy Ford Taurus when you get to Toronto - it is Number 2 there... :))))
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform