Can't size form to dimensions I want during design time

  • Thread starter Thread starter Robbie
  • Start date Start date
R

Robbie

Situation:

Have form. Want to rezize it to be certain width, certain height.
When I change the Size.Width and Size.Height properties, the IDE just
ignores my values and puts it's own values in. The form resizes OK
when I use smaller values, but seems to hit a maximum of 1036,780 when
I enter values higher than these. Also, the height property seems to
be proportional to the width. True?

My form properties:
MaximunSize.Height = 32000
MaximumSize.Width = 32000
Size.Width = 1036
Size.Height = 780

When I change the Size.Height to something like 1500, the IDE just
puts 780 back in. Why?

What I'm trying to do is have a form with many controls on it. The
controls are in a panel docked to the size of the form and I want the
panel to have scroll bars so that much more can fit on the form than
shows. I can't seem to design the form so that it becomes bigger than
the screen area. Even the sizing controls hits a limit.

Any ideas?

Robbie
 
* (e-mail address removed) (Robbie) scripsit:
Have form. Want to rezize it to be certain width, certain height.
When I change the Size.Width and Size.Height properties, the IDE just
ignores my values and puts it's own values in. The form resizes OK
when I use smaller values, but seems to hit a maximum of 1036,780 when
I enter values higher than these. Also, the height property seems to
be proportional to the width. True?

My form properties:
MaximunSize.Height = 32000
MaximumSize.Width = 32000
Size.Width = 1036
Size.Height = 780

When I change the Size.Height to something like 1500, the IDE just
puts 780 back in. Why?

In Windows, windows must not be larger than the screen. That's why the
size is reset.
 
Back
Top