Controls Positions Change When Installing On Different Computer
-
I am having a weird issue where i can build a form on my computer and everything looks fine at design and runtime. However when I install onto another machine the positions of the controls changes and the buttons etc move to different positions on there screen. This happens even when using the default anchor position of top and left. If i set the forms AutoSize property to True then for the most part it fixes the issue on most machines, but not always. I am using Visual Studio 2008 Team with .NET 3.5 SP1 (VB) Thanks for any help :)
-- "Keyboard not found. Press < F1 > to RESUME. " Source unknown (appears in many common BIOSes as a real error message)
-
I am having a weird issue where i can build a form on my computer and everything looks fine at design and runtime. However when I install onto another machine the positions of the controls changes and the buttons etc move to different positions on there screen. This happens even when using the default anchor position of top and left. If i set the forms AutoSize property to True then for the most part it fixes the issue on most machines, but not always. I am using Visual Studio 2008 Team with .NET 3.5 SP1 (VB) Thanks for any help :)
-- "Keyboard not found. Press < F1 > to RESUME. " Source unknown (appears in many common BIOSes as a real error message)
Three possible causes spring immediately to mind, all of which normally only cause small differences in control positions. So if you are experiencing large variations these are probably not the cause of your problem. 1) You are probably already aware that having different screen resolutions can cause slight movement in controls. 2) Also having different DPI settings can do the same. 3) One computer having Large Fonts enabled and one not, sometimes causes weird effects.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”