Since I am a curious person I tried to do it. A D5-application allow me to
create two MDIForms. But the children always go to the mainform if it's an
MDIForm otherwise it raises "cannot create, no mdiforms active" message.

What you are referring to is creating own MDI-handling or some 3rd party
component?

Regards, Fredrik.

-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
För Stephen Posey
Skickat: den 10 augusti 2005 21:16
Till: Delphi-Talk Discussion List
Ämne: Re: MDI frame not main form?

Liz Hundy wrote:

> Is it possible to have an MDI form which is not the main form of an
> application?
> 
> I want to build a form that contains several different views that can be
> tiled / cascaded / opened / closed independently. But it will not be the
> main form of my application.

Sure, despite the names there's no direct relationship between an 
MDI Main Form and the Main Form of an application.

The default VCL code uses the first form created with the 
Application object as its owner as Application.MainForm, and if 
you've used the MDI Application template, that will indeed be the 
MDI MainForm, but you don't have to leave it that way.

Stephen Posey
[EMAIL PROTECTED]





__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk


__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to