Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2005 May : Creating a MDI Child Form as a DLL
| Subject: | Creating a MDI Child Form as a DLL |
| Posted by: | "JohnJo" (jj123@no.spam.hotmail.com) |
| Date: | Sat, 14 May 2005 12:10:04 |
I have successfully followed the instructions in the Delphi Help File
and made a DLL containing a form.
I can then run a test program and call the DDL routine and display the form.
What I cannot do is make that form an MDI child. In the DLL routine to
create the form I have set FormStyle := fsMDIChild. In the test program
I have set the FormStyle to be fsMDIForm.
When I click a button in the test program to display the form I get an
error message 'Cannot create form. No MDI forms are currently active.'
Any ideas what I am doing wrong?
Thanks
John