[RESOLVED] [2005] Snap to form borders
Hello All,
I'm trying to line up several objects, 'labels, ComboBoxes etc', within an form by using 'Select All' and then using the mouse to move them around. I can't seem to get them too close to the borders of the form as there appears to be a margin aound the form that they wil either stick to or go way past.
I looked in 'Tools/Options/Windows Form Designer and tried to turn off the snap and change the snap size, but that has no effect what so ever.
Any clues as to where I should be looking.
Best Rgds,
Tarablue
Re: [2005] Snap to form borders
If you hold Alt while dragging objects, that allows you to position them anywhere.
Re: [2005] Snap to form borders
Hello lil n00b,
Yep that fixed it, thank you. Again it's always something small that solves the problem.
Best Rgds,
Tarablue
Re: [RESOLVED] [2005] Snap to form borders
I believe if you change the option you mentioned you need to restart VS before it takes effect.
Also, you can use the arrow keys to move selected objects for precise positioning.
Re: [RESOLVED] [2005] Snap to form borders
I strongly suggest not turning off snap lines as they are the best way to position controls. If you don't like the distance that the snap lines enforce then you should be editing the Margin and Padding properties of your form and its controls.