Hi All
First time VB.NET developer here - and it shows <blush>
I've taken a lot of care to set my anchor and dock properties so that the controls on my forms are Centered and Sized correctly.
My Login form fits 800X600 and any resolution after that. It is just a box with the username and password text box controls and two buttons inside. The box's Anchor property is set to 'None' so that it centers itself on any screen, or so I thought.
It does center itself correctly on my development machine on any resolution I've tried. However I installed my application for the first time today on the Client's test machine. It has a resolution of 1024x768 - which is the same resolution I use on the development machine. But what a shock I got, everything looks very different.
The login form looks like it is centered correctly for 1024x768 but appears to be zoomed into 800x600, resulting in the box with my username and password textboxes sitting at the bottom right of the screen.
The controls are out of proportion as well.. the buttons appear bigger while the font appears close to the original size.
To further confuse me... When I pass the login form and Open the Main form.. the buttons appear slightly smaller and the font slightly bigger... this means the text is cropped as it no longer fits in the buttons.
Obviously I'm having problems with the settings on this machine and I was foolish to think that the resolution alone would decide how my application was laid out. Any suggestions on where else to look would be greatly appreciated.
Many thanks
Nells
First time VB.NET developer here - and it shows <blush>
I've taken a lot of care to set my anchor and dock properties so that the controls on my forms are Centered and Sized correctly.
My Login form fits 800X600 and any resolution after that. It is just a box with the username and password text box controls and two buttons inside. The box's Anchor property is set to 'None' so that it centers itself on any screen, or so I thought.
It does center itself correctly on my development machine on any resolution I've tried. However I installed my application for the first time today on the Client's test machine. It has a resolution of 1024x768 - which is the same resolution I use on the development machine. But what a shock I got, everything looks very different.
The login form looks like it is centered correctly for 1024x768 but appears to be zoomed into 800x600, resulting in the box with my username and password textboxes sitting at the bottom right of the screen.
The controls are out of proportion as well.. the buttons appear bigger while the font appears close to the original size.
To further confuse me... When I pass the login form and Open the Main form.. the buttons appear slightly smaller and the font slightly bigger... this means the text is cropped as it no longer fits in the buttons.
Obviously I'm having problems with the settings on this machine and I was foolish to think that the resolution alone would decide how my application was laid out. Any suggestions on where else to look would be greatly appreciated.
Many thanks
Nells