What should I do if the panel on the MDI main form overwrites the child form?

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.