I had a form with 5 tab page, and each tab page got a button that link to another sub-form. What i want is how i gonna make the sub-form display in the MDI too? Coz now i maximize all my form once the sub form loaded it had covered the status bar, and menu bar of the MDI!

I cant get the code, and i had no idea how the coding should be.

Any 1, any idea?

Write the following code on your button click event.

Dim newForm as New Form1
newForm.MDIParent = Me
newForm.Show()

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.