Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add image in listbox?
Message
 
To
11/04/1997 12:52:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00027970
Message ID:
00028015
Views:
50
>>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.

Really I don't know - never tried, and in doc it is only about one column listbox.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform