1. 将TFrmMain.IsMDIContainer = true,即可设置TFrmMain设置为Application的主窗体。

 2. 将TFrmChild设置为MDI子窗体,用:frmChild.MDIParent = frmMain即可。

      

       MDI主窗体与子窗体 IsMDIContaier属性与MDIParent属性

 

      MDI主窗体与子窗体 IsMDIContaier属性与MDIParent属性

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2021-06-08
  • 2022-02-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案