hi,,
saying i've got items on form,, such as buttons, or labels.
any ideas how i can drag or move any of this items, by using the mouse,
so i can move the button for example from bottom left to bottom right of the form......
Printable View
hi,,
saying i've got items on form,, such as buttons, or labels.
any ideas how i can drag or move any of this items, by using the mouse,
so i can move the button for example from bottom left to bottom right of the form......
pls , help me, with that
http://www.codeproject.com/vb/net/vbnetdragdrop.asp
http://www.visual-basic-data-mining....spx?PostID=702
Detailed Tutorial
and there are even more on google.com
bassicly, you could utilize the drag-drop methods and use the coordinate differences from start to finish that the cursor is making and set the "location" property of your control to mirror that.
to clear that up...if your mouse moves from x.1, y.1 to x.6, y.6, that's a difference of five on each axis. just calculate the axis points for the "location" of the control....
did I make it more non-understandable?
no you are alright mate,
what i am trying to do, is try to move the button or a label, the same way u do while designing a form..... and that's by using the mouse.
pirate, thank you very much,
you are a real saviour..
good day..
You're welcome . :)