all groups > dotnet academic > july 2003 >
You're in the

dotnet academic

group:

VB.NET Windows Form Designer


VB.NET Windows Form Designer Norm
7/28/2003 1:41:17 PM
dotnet academic:
Does anyone know a fix to this problem? In the Windows
Form Designer, I have set my snap-to grid setting to
false. However, the controls on the form still snap to the
grid. I have tried setting this and restarting VB.NET, but
Re: VB.NET Windows Form Designer Peter van der Goes
7/31/2003 6:13:34 AM

[quoted text, click to view]

Did you set SnapToGrid false in a form's properties, or did you navigate
Tools->Options->Windows Forms Designer and set SnapToGrid to false there? If
you used the latter method, that will not affect previously created forms,
but will change the appearance and behavior of forms created subsequent to
the global settings change.
Try setting the global SnapToGrid to false, then see if your existing form's
behavior changes.
I just tried this and found it quite difficult to tell with the grid set to
8,8. I changed the global setting for GridSize to 24,24 and created a new
form. It was than easy to tell that controls were not snapping to grid. When
I changed SnapToGrid to true in the form's properties, behavior did change.
BTW, what version of VB.Net are you using, 2002 or 2003? The experiment
described above was done in VS.NET 2002.

--
Peter - [MVP - Academic]

Re: VB.NET Windows Form Designer Norm
7/31/2003 10:06:57 AM
Thanks, Peter. I will give that a try.

Norm

[quoted text, click to view]
AddThis Social Bookmark Button