WinForms Designer Grid

  • Thread starter Thread starter Water Cooler v2
  • Start date Start date
W

Water Cooler v2

When you place controls on the Windows form, there's a grid of dots on
the form that defines the drop/alignment matrix.

In Visual Studio 6.0 Enterprise Edition, you could change the size of
the grid by going to the Tool->Options->General and putting in a higher
grid size so that you had better control of placing controls.

I want to do the same thing in Visual Studio .NET 2003. I went to the
Tools -> Options -> Windows Forms Designer -> General tab and changed
the grid size but I didn't see any change.

What's the way to do it? Thanks.
 
That is the way to do it. There's a minimum size of 2 (IIRC), whihc I
believe it reverts to if enter a lower value. Could that be your problem?
 
CT said:
That is the way to do it. There's a minimum size of 2 (IIRC), whihc I
believe it reverts to if enter a lower value. Could that be your problem?


Oh! I see! I've done it right. I notice, however, that it applies the
formatting only to forms I add into the project later. It does not
change the grid size for my first form, which was added to the project
prior to the change.
 
Indeed, it only applies to new forms, if you want to change it for an
existing form, you can change it in the form's property window. Look for the
grid property

Hope this helps

Peter
 
Back
Top