Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Click on the button label is produced now how can I move them with the mouse
Posted

1 solution

Hi,

if I understand you correctly, you want to move your control at runtime. Here is an article that might help you:

http://www.codeproject.com/KB/dialog/MoveYourControls.aspx[^]

Basically what you need to do is: Use the mouse move event to reposition the control when the mouse was clicked and held down on your control.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900