472,992 Members | 3,413 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,992 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 1146
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
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.