> > If you set that form as auto-create, it should come up as a child form 
> > already open in the parent.
> 
> I can't - it's a generic that may have several instances created... They just
> want 1 open by default at startup.
> 
> > I just tried it, putting the create in the OnFormCreate() failed, but 
> > OnFormShow() worked fine.
> 
> Nope oncreate, onshow and onactivate all give the same error during the
> TCustomForm.Create of the child form which is in the onShow currently...
> 
> Dies during readState of the rootcomponent... The only autocreate form
> is the container...

Fixed by the postmessage... I'm surprised that as the activate happens the
registration of the container as MDI still hasn't occurred... hmm... Ahh well,
a less linear and obscure solution but nothing that can't be documented... Thanx
all for your suggestions and thanx Max for pointing what should have been
obvious to me having done with for other purposes in the past...

--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax


---------------------------------------------------------------------------
    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"

Reply via email to