Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Item icons in combobox control
Message
De
11/02/2003 12:00:57
 
 
À
11/02/2003 11:53:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00751906
Message ID:
00751926
Vues:
14
Found it. You have to add the individual items with AddItem method. Then the pictures will work.

Thanks again!

Don


>Plinio,
>
>I tried this on a listbox and could not get any results. I watched as I debugged line by line and the Picture[n] properties stayed with an empty string. I know the .bmp files exist and I'm entering the correct path. Is there another setting I need to make them display? Also, how would I associate Picture[1...n] with any specific item in the list?
>
>Thanks,
>
>Don
>
>>Try something like:
>>THISFORM.combobox1.PICTURE[1] = "c:\picture1.bmp"
>>THISFORM.combobox1.PICTURE[2] = C:\picture2.bmp"
>>
>>I have not test them, but it works for lists.
>>
>>>Is there any way to show a different icon for individual items in a dropdown list type combobox? BTW, the items are populated by a cursor.
>>>
>>>I tried setting the Picture property, but it put the same icon on each item.
>>>
>>>Thanks in advance!
>>>
>>>Don
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform