Click to See Complete Forum and Search --> : DRag and Drop a user Control


buddhiw
November 3rd, 2002, 11:58 PM
Hi

I have a problem in draging and droping a user control physically from one point to another. I can drag a text or a bit map but not the control itself. I want the user control to move with the mouse pointer when i drag the control. Please can anyone help me. I stuck in this for a long time now. Thanks in advance.

Brad Jones
November 8th, 2002, 01:15 PM
This is an 'unthought out' answer:

Can you capture the mouse events and then change the location properties of the control as the mouse moves?

buddhiw
November 10th, 2002, 09:30 PM
Hi Brad

I have done that and that works but i am wondering that is it the correct way to do the drag and drop. I can not do the drag and drop with the events and methods that c# has provided. Thank you very much for your reply. That is very big help for me. If i find the correct way i will inform you. Thanks.

Regards