In MDIParent, in my formload in MDIParent, one form is load. And i want the form when i click a button, there is another form will be loaded INSIDE the MDIParent? how is that?
Can somebody teach me the code? Thank You!

Hi,

Add a button and a new form to your application and name it Child1, then you can try something like this inside the button click event:

Dim f As New Child1
        f.MdiParent = Me
        f.Show()

ok... thanks. How when i want another form to be loaded inside of a parent form. And that parent form has also a parent form. Is this possible???

Hi,

No you can't, because there can be only one parentform in a MDI application.

Ah Ok...Thanks for answering!...

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.