April 3rd, 2013, 02:16 AM
Hide MDI form in application
Is it possible to hide the MDI Form(Owner of the MDI child) and display the MDI Child alone in my application ?
i tried it with the following lines in Project file,
Application.ShowMainForm := False;
Application.CreateForm(TCnMain, CnMain); -- MDI Form
Application.CreateForm(TFrmWACC,FrmWACC); -- MDI Child
.Exe has been created, it shows the EXE in the running status and it's also available in the Task bar, but i couldn't view it.
Thanks in advance for ur guidance.
April 4th, 2013, 10:19 PM
I'm not sure why you would want to design your application using the MDI framework, only to hide the MDI frame and show the Child forms. Seems that IF you could get it to work, it would end up looking much like a Single Document Interface application. So why the extra trouble?
Originally Posted by Murugavel
Maybe if you explain what you are attempting to accomplish, an alternative could be suggested.
i don't understand what you are looking, because english is not my native language.
and i think you want to hide main form and show child form only
so try this: