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

Re: MDI Child Form size by Jeremy

Jeremy
Mon Jul 14 15:55:36 CDT 2003

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


"T Waldren" <twaldrenremove@sillyremovewgacpa.com> wrote in message
news:uQMTFXkSDHA.1572@TK2MSFTNGP12.phx.gbl...
> 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
>
>
>


Re: MDI Child Form size by Herfried

Herfried
Mon Jul 14 16:07:56 CDT 2003

Hello,

"T Waldren" <twaldrenremove@sillyremovewgacpa.com> schrieb:
> 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
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet



Re: MDI Child Form size by Jeremy

Jeremy
Tue Jul 15 07:28:54 CDT 2003

"T Waldren" <twaldrenremove@sillyremovewgacpa.com> wrote in message
news:%23NJnA7kSDHA.2144@TK2MSFTNGP11.phx.gbl...
> 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!





>
> "Herfried K. Wagner" <hirf.nosp@m.activevb.de> wrote in message
> news:exTX8vkSDHA.2128@TK2MSFTNGP12.phx.gbl...
> > Hello,
> >
> > "T Waldren" <twaldrenremove@sillyremovewgacpa.com> schrieb:
> > > 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
> > --
> > MVP · VB Classic, VB .NET
> > http://www.mvps.org/dotnet
> >
> >
>
>
>


Re: MDI Child Form size by Herfried

Herfried
Tue Jul 15 09:02:37 CDT 2003

Hello,

"T Waldren" <twaldrenremove@sillyremovewgacpa.com> schrieb:
> 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
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet