473,403 Members | 2,323 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,403 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 1167
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...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.