Home All Groups Group Topic Archive Search About

WinForms Designer Grid

Author
19 Jun 2006 11:09 AM
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.

Author
19 Jun 2006 11:19 AM
CT
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?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk
---------
Voodoo Programming: Things programmers do that they know shouldn't work but
they try anyway, and which sometimes actually work, such as recompiling
everything. (Karl Lehenbauer)
---------
Show quote
"Water Cooler v2" <wtr_***@yahoo.com> wrote in message
news:1150715366.829161.210320@i40g2000cwc.googlegroups.com...
> 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.
>
Author
19 Jun 2006 11:44 AM
Water Cooler v2
CT wrote:
> 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?
>
> --
> Carsten Thomsen


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.
Author
19 Jun 2006 11:58 AM
Peter Proost
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

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

Show quote
"Water Cooler v2" <wtr_***@yahoo.com> schreef in bericht
news:1150717467.176834.299850@p79g2000cwp.googlegroups.com...
>
> CT wrote:
> > 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?
> >
> > --
> > Carsten Thomsen
>
>
> 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.
>

AddThis Social Bookmark Button