MDI Child Form size

  • Thread starter Thread starter T Waldren
  • Start date Start date
T

T Waldren

Hi All,

Is there a way to make a MDI Child's height larger then the parent form?

For example, when I try to add a new type of MDI Child to a Parent form that
is setup for a width/height of 800 X 600, and I want to have a longer Child
form (say the size will be 800X1200).

Everytime I try this, Visual Stuido resets the height of the child to be
near what the height of the Parent is.

Thanks,
T. Waldren
 
The client area of a form can be no larger than the size of the current
desktop, perhaps this is why .NET is reseting the size 'near' the size of
the parent.

HTH,
Jeremy
 
Hello,

T Waldren said:
Is there a way to make a MDI Child's height larger
then the parent form?

There is no way to make a form larger than the desktop.
For example, when I try to add a new type of MDI Child
to a Parent form that is setup for a width/height of 800 X 600,
and I want to have a longer Child form (say the size will be
800X1200).

Why don't use scrollbars?

Regards,
Herfried K. Wagner
 
T Waldren said:
I do have scroll bars on. I am trying to figure out a way to take a 15 page
billing rate sheet, and put it into a c# program. When I try to make the
child form twice the height of the parent, Visual Studio always changes the
size of the child to match that of the parent, meaning that I could only fit
about 2/3 of the info from each page of this document into the file.

I am hoping someone has a trick that can help me create a Child form that is
much larger then the parent, so that I can have maybe 3 or 4 long pages of
data that can be shown..

This is not uncommon, but you notice that forms 20x the size of the screen
*are* quite uncommon. Why don't you just make the _form_ scrollable? This
would solve your problems (like a print preview). There is no need to make
the form the same size as it's content!
 
Hello,

T Waldren said:
I do have scroll bars on. I am trying to figure out a way to
take a 15 page billing rate sheet, and put it into a c# program.
When I try to make the child form twice the height of the parent,
Visual Studio always changes the

Set the *child* form's AutoScroll property to True.

Regards,
Herfried K. Wagner
 
Back
Top