Does anyone know what causes layouts to sometimes vary wildly on different systems?

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

This is very frustrating. I lay out my WinForm using the VS.NET 2004
designer, develop and test it on my laptop and everything is fine... only to
find that controls sometimes have a mind of their own on different
systems... with the groupbox, for example, extending beyond the size of the
form (or even the screen), so that users are unable to access all of the
data entry textboxes. NOT GOOD!

Is anyone else experiencing this problem?

If so, is there a fix for it?
 
You need to make sure that the controls that are inside the group box are
attached such that they move as the group box is resized. For example, a
text box would be attached to the left and right. That would cause it to
resize itself as the group box changed size. If you have a control that is
towards the right side of the group box, (like a button) make sure you
attach it just the the right. In that way, the button will move. You may end
up with overlapping controls too.
 
Why would my groupbox resize? The form is set to a specific size designed to
fit within a minimum screen resolution of 1024X768.
 
John Galt said:
Why would my groupbox resize? The form is set to a specific size designed to
fit within a minimum screen resolution of 1024X768.

IOW, the form should be rendered as I specified it... the group box is
resizing independently from the container and is LARGER than the container,
thus the controls within it are not all available insofar as they go out of
bounds.

This is very frustrating and causing a lot of grief.
 
Make sure you have your Groupbox's Anchor properties set correctly and it
should resize with your form.
james
(if I'm late to this game and someone has already told you
this,,,,,,,,,,,,,,never mind)
 
Thanks... but the form is really not designed to be resized insofar as it is
a dataentry form. The dimensions should be the same on any platform so long
as they have a minimum of 1024x768.
 
Back
Top