You are not missing what I am asking. When I resize the form
I get scroll bars but when I try to scroll the shapes redraw in the
original position but the scroll bars have moved - the thing just
does not look or behave correctly. I will look at your project
and see if it is different than mine and see if it shows what I
have done wrong.
Chrissy.
----- Original Message -----
From: Nello Sestini <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 3:12 AM
Subject: Re: [DUG]: MDI Form Size
> Chrissy
>
> I'm probably misunderstanding what you are trying to do.
>
> You have some MDIChild windows - presumably not maximised -
> and you want to programmatically resize them to fit the
> shapes you're drawing on them - is that right?
>
> Is the problem "how to resize" - or is it "how to know
> the right size for your shapes"?
>
> If the problem is "how to resize" - you can just change
> the width and height properties of the child.
>
> I created a little MDI app that does this. Use
> File|New to create some mdi children - then use
> the right mouse menu in the children to make them
> larger or smaller.
>
> The project for this is here:
> http://roserox.co.th/dugnz/chrissy.zip
>
> Note that it behaves strangely if you do the resize
> thing on maximised MDI children so probably you want
> to avoid that.
>
> If the problem is knowing the right size for your
> shapes I think we need more information about the
> stuff you're drawing on the form.
>
> Hope this helps - but as I say - I suspect I'm missing
> what you are really asking.
>
> -ns
>
>
>
>
>
> ----- Original Message -----
> From: "Chrissy R" <[EMAIL PROTECTED]>
> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
> Sent: Wednesday, February 07, 2001 19:19
> Subject: Re: [DUG]: MDI Form Size
>
>
> > I still have no idea how to do this - can anyone help please.
> >
> > Chrissy.
> >
> >
> > ----- Original Message -----
> > From: Chrissy R <[EMAIL PROTECTED]>
> > To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 07, 2001 12:48 PM
> > Subject: [DUG]: MDI Form Size
> >
> >
> > > Hi,
> > >
> > > I have some MDI forms in my application. I am drawing shapes
> > > on these forms and they are redrawing correctly. What I cannot
> > > do is resize the forms when the shapes are outside the current
> > > area. I can make scroll bars appear but I cannot scroll the form.
> > > How should I do this?
> > >
> > > Chrissy.
> > >
> > >
> >
> > --------------------------------------------------------------------------
> -
> > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > > Website: http://www.delphi.org.nz
> > > To UnSub, send email to: [EMAIL PROTECTED]
> > > with body of "unsubscribe delphi"
> > >
> >
> >
> > --------------------------------------------------------------------------
> -
> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> > To UnSub, send email to: [EMAIL PROTECTED]
> > with body of "unsubscribe delphi"
>
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"