ListView Drag & Drop

I

Ivan Sammut

Hi,


I have 3 listview on my screen List1 , List2, List3
Now I want to be able to drag from list1 to list3 but not to list2. On the
Dragenter event is it possible to know from which object on the screen the
drag is coming.

Thanks
Ivan
 
G

Guest

When the user starts to drag, you need to call List.DoDragDrop(object) and
pass an object across. You can write a DragDropInfo class with a variable for
the source list and a variable for the item being dragged. Then pass this to
DoDragDrop.

Ciaran O'Donnell
 
G

Guest

Hi, I have the same problem that Ivan but I didn't find the DragDropInfo class.
Could you explain better?

Thanks.
 

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