Drag Drop of controls in .net
-
i want to drag a control and drop it on some other position in the same form window. can any body please help me on that.
Have a look at these articles: - C# Rect Tracker[^] - http://69.10.233.10/KB/cs/SharpFormEditorDemo.aspx[^] I hope this helps. :) Regards, Nuri Ismail
-
i want to drag a control and drop it on some other position in the same form window. can any body please help me on that.
-
i want to drag a control and drop it on some other position in the same form window. can any body please help me on that.
I wrote something like this back in the day and I will look for it. But dragging controls is very demanding since they redraw all the time causing flickering and bad performance (at least in .net 2.0).You can show squares when you drag or implement it by adding custom redraw on bitmaps which may still cause problems, very complicates and has relatively poor performance. This is a big task and you should be looking for a nice peace of code to start with.Try looking for a custom drawn object source code it will be a good start. I don't know whether you should use an off the shelf product, check quality and pricing first. I found this here : Drag and Drop Image C#
Natza Mitzi
Analysis Studio - Statistical Analysis