ListView items images

D

Diego F.

Hi. I'm having a problem with listview controls.

I'm using a control that adds drag and drop functionality to a listview (I
get the control from codeproject).

Now I'm having problems when dragging items that have images. I first
thougth that an item has its image and I could drag the complete object, but
I see that in the second listview the image doesn't appear. It appears again
if I move it again to the first listview.

I tried this: ListView2.LargeImageList = ImageList1, when ImageList1 is the
ImageList from ListView1, and then the images appear, so I see the ImageList
is independent from the items.

I'm not sure about how to solve that, as I can open different files in both
listviews and I should move items from one to the other.

Any ideas please?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top