|
-
Feb 18th, 2004, 07:11 AM
#1
Thread Starter
Member
move items around
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......
-
Feb 18th, 2004, 11:57 AM
#2
Thread Starter
Member
-
Feb 18th, 2004, 12:10 PM
#3
Sleep mode
-
Feb 19th, 2004, 12:22 AM
#4
Frenzied Member
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?
-
Feb 19th, 2004, 08:47 AM
#5
Thread Starter
Member
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..
-
Feb 19th, 2004, 11:55 AM
#6
Sleep mode
You're welcome .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|