Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Add Image to ListBox
Message
 
To
23/04/2001 08:12:39
Edward See
Magicalogic Consultancy System
Quezon, Philippines
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00498509
Message ID:
00498523
Views:
12
>anybody,
>how do we add an image to each listitem of a listbox ?
>or do we have to resort to a listview ocx with an imagelist ocx ?
>the listbox is for choosing output to different formats
>ed

Here is the code with the VFP listbox

WITH MyListBox
.ADDITEM(tcDescription)
lnRow = .LISTCOUNT
.PICTURE(lnRow) = "MyPicture.bmp"
ENDWITH

Marcel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform