473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

WinForms Designer Grid

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.

Jun 19 '06 #1
3 1438
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)
---------
"Water Cooler v2" <wt*****@yahoo.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.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.

Jun 19 '06 #2

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.

Jun 19 '06 #3
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)

"Water Cooler v2" <wt*****@yahoo.com> schreef in bericht
news:11**********************@p79g2000cwp.googlegr oups.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.

Jun 19 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dave Veeneman | last post by:
I am just getting into the WinForms data grid, and just about everything I am seeing on it seems to say that the grid must be bound to an ADO.Net dataset. I want to use the grid as a simple unbound...
0
by: Jack Danon | last post by:
Hi, I am having trouble getting the windows form designer to respect my options. I have set show grid and snap to grid false from the Options:Windows Form Designer dialog box, but yet I am...
4
by: Charles Fineblum | last post by:
Hi: I'm getting subject error when loading Form into WinForms designer. Application complies and runs fine, but can not load form into designer. This has happened twice and forced me to restart...
3
by: Richard | last post by:
Rather than all that painting, brush, etc. code to change the styles of a ..NET datagrid to start with and on the fly, I'd rather be able to set a lot of the stuff in the designer properties of the...
3
by: Tom S. | last post by:
VS.Net 2003 V 7.1.3088 ..Net Framework V 1.1.4322 SP1 WinXP SP2 I have a WinForms project that I'm having trouble with. I have a custom user control ( all code based, no visual ) and another...
3
by: Water Cooler v2 | last post by:
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...
2
by: Charlie | last post by:
Hi: Program runs and compiles fine, but WinForms designer breaks when using this line of code... ConfigurationManager.ConnectionStrings.ToString(); It says "Object reference not set to an...
8
by: =?Utf-8?B?Umlja0Q=?= | last post by:
Suddenly I find myself unable to open Winforms files in designer mode. I get the message quoted below. I can open other types of vb files like modules, classes and code behind files, but simply...
2
by: Peted | last post by:
Can anyone suggest a best practice approach to building a dynamic winforms UI. Just as an example somehting like a billing application where you enter a customer billing data and the billing...
23
by: raylopez99 | last post by:
Here I am learning WinForms and two months into it I learn there's a WPF API that is coming out. Is this WPF out yet, and is it a threat to WinForms, in the sense that all the library routines I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.