You should be able to create it in the OnShow event. I've just done exactly
that with one of my apps.
Make sure that the child form isn't getting auto created. ie: Your MDI
container should be the only form that gets auto created when you run the
application.
-----Original Message-----
From: Aaron Scott-Boddendijk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 6 March 2001 12:53
To: Multiple recipients of list delphi
Subject: [DUG]: I wish I didn't have to but...
I have an MDI app... The MDI container comes up at app login...
There are a number of different MDI child form types 1 of which I would like
to appear at startup - currently this form is created by clicking on a
toolbarbutton
attached to an action...
If this is placed in the onShow of the MDI container... I get "Cannot create
form. No MDI forms are active"...
I hate MDI and haven't played with it much - any hints on where the child
form
trigger can be placed...
--
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"
---------------------------------------------------------------------------
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"