Form inside form?

Adagio

Well-known member
Joined
Dec 12, 2005
Messages
162
Programming Experience
Beginner
I've been searching all over, but haven't found any information about this
Does anyone know if it's possible to have a form inside another form?

I know there's mdi, but that's not an option for several reasons. One of them is that the form that needs to have another form inside is already a mdi-child

Form1 is a mdiContainer, pressing a button there opens Form2 and pressing a button there should show Form3 (which is a borderless form) inside Form2. Form3 should look like it's a part of Form2 and not look like it's a different form
 
You can set TopLevel=False for that form and add it to a Controls collection, for example Me.Controls or Panel1.Controls.

But with need for "multi-level mdi" there is question about design, perhaps you should/could organize it differently, perhaps use UserControl for the need of displaying different compound controls in one form instead of different forms? Or use of TabControl?
 
Back
Top