What should I do if the panel on the MDI main form overwrites the child form? Development and Application of VCL Components
Http://www.delphi2007.net/DelphiVCL/html/delphi_20061222144928188.html
What should I do if the panel on the MDI main form overwrites the child form?
The main form uses the fsmdiform type, and the child form uses the fsmdichild type.
When a widget is placed in a panel, the child form is always in the panel
The sub-window can be seen only when the Panel component is temporarily hidden.
Body. How can I make the child form on the panel component without hiding the panel?
What is visible?
Set panel in oncreate of main form
Clientpanel. Parent: = nil;
Clientpanel. parentwindow: = self. clienthandle;
In that case, it is best not to use the MDI mode.
Set the align attribute of the Panel. Align left or right. Do not place them in the middle.
You can use xxmmmx to implement the functions you need.