Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add image in listbox?
Message
From
11/04/1997 12:52:11
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00027970
Message ID:
00027997
Views:
33
>FOR iItem = 1 to this.ListCount
>cExtension = UPPER(RIGHT(THIS.List(iItem),3))
>DO CASE
>CASE cExtension = "DBF"
>This.Picture(iItem) = "tables.bmp"
>CASE cExtension = "BMP"
>This.Picture(iItem) = "other.bmp"
>*and so on
>ENDCASE
>ENDFOR

My listbox contains 6 fields and I want to 7th one to have the country flag.

I can add the picture to the list but how do I tell the listbox to put the picture in a specific column.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform