Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can i disable snaplines in design mode of ( custom form) when we move the controls using the mouse
Posted
Updated 25-Nov-15 1:27am
v3
Comments
Richard MacCutchan 17-Nov-15 7:18am    
What snaplines, where are they?
OriginalGriff 17-Nov-15 7:27am    
The "Snap-to" lines that help you align controls when you move them in the designer, I assume.
sandeep shukla 2012 17-Nov-15 7:55am    
yes you are right

1 solution

Hold down ALT while you move the controls.
 
Share this answer
 
Comments
Richard MacCutchan 17-Nov-15 7:37am    
No surprise that you have the answer. :)
OriginalGriff 17-Nov-15 7:42am    
It's handy if you want to precisely position things - and you can use the keyboard arrows to move them pixel by pixel as well. CTRL and the arrow keys move controls to the "next snap point", which can be useful.
sandeep shukla 2012 17-Nov-15 7:58am    
Yes i have implemented it using the arrow key it works fine, but i have also need to to move using the mouse without snap line
OriginalGriff 17-Nov-15 8:15am    
So...hold the ALT key down...
sandeep shukla 2012 25-Nov-15 6:18am    
How can i change with c# code on some conditions

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