0

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!

2
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by selle05
0

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()
0

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???

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.