Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ImageList control
Message
 
To
06/08/2003 12:00:17
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00817078
Message ID:
00817403
Views:
20
This message has been marked as the solution to the initial question of the thread.
>Hi Terry,
>
>In my ImageList, I had some of my images embedded at design-time.
>During runtime also, I will add some images such as icon of some .EXE file.
If, at runtime, the imagelist is bound to a control (like a treeview or listview), there may be some issues. I'll check that and get back.

>I wanted to dump the images/icons that are stored in the Imagelist so that I can use it in the ListBox control of VFP.

My experience with Imagelist has been to load the images from a disk file in a folder. I have not tried loading an imagelist control with BMPs that are 'compiled' into the EXE. If you were using listview, you could reference the imagelist collection, with listbox, you need a diskfile image.

So, in review:
1) the project's imagelist control is loading images that were compiled into an EXE, much like we have to compile the images for define menu bars, and not from a physical location in a disk folder.

2) You want to take the images from the imagelist collection and make them available use by a listbox (not listview) control.

3) You want to add images to Imagelist at runtime?

Is this your understanding?
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform