ListView Drag & Drop

  • Thread starter Thread starter Ivan Sammut
  • Start date Start date
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
 
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
 
Hi, I have the same problem that Ivan but I didn't find the DragDropInfo class.
Could you explain better?

Thanks.
 
Back
Top