How to create a delphi form containing multiple 'child' forms that can be moved/sized and show activated

后端 未结 3 1664
死守一世寂寞
死守一世寂寞 2020-12-19 17:32

I\'ve created a form that hosts one or more \'child\' forms. In my edit mode, each child form shows its border and caption bar allowing it to be moved and sized (a bit like

3条回答
  •  一向
    一向 (楼主)
    2020-12-19 17:53

    I think MDI is the easiest way, in the main form set FormStyle=fsMDIForm, in the childs FormStyle=fsMDIChild.

    That's it, this way you dont have to set the parent to make it work.

提交回复
热议问题