Hmmm... tried doing the same in our MDI application and had no problems
(the maximised MDI child forms didn't restore themselves when the
non-MDI form was created and shown).  What versions of Delphi and
Windows are you using?

Cheers,

Carl Reynolds                      Ph: +64-9-4154790
CJN Technologies Ltd.             Fax: +64-9-4154791
[EMAIL PROTECTED]                DDI: +64-9-4154795
PO Box 302-278, North Harbour, Auckland, New Zealand
12 Piermark Drive, North Harbour Estate, Auckland, NZ
Visit our website at http://www.cjntech.co.nz/

> -----Original Message-----
> From: Darren Bilby [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 15, 1999 8:41 PM
> To:   Multiple recipients of list delphi
> Subject:      [DUG]:  MDI Forms and Showmodal Hassles
> 
> I've got a MDI application running with a few MDI child forms
> maximised, I
> need a modal box to appear and then simply return. I basically just
> create
> the form then do a showmodal on it:
> 
> Application.Createform(TChProdHistory, ChProdHistory);
> if (ChProdHistory.Showmodal = 1) then dostuff;
> 
> so basically how I see it, it should show the form then return
> 
> The problem is that when the form is created the currently open MDI
> Child
> forms all get 'restored' to a non maximised state which looks really
> ugly.
> I'm just unsure as to why the creating a non-MDI form (ie formstyle :=
> fsNormal) is forcing the all the MDI child forms to resize...
> 
> Any words of wisdom?
> 
> Darren

application/ms-tnef

Reply via email to