IsMdiContainer

K

Ken Humphreys

Hi There,
I have created a new Windows form with the IsMdiContainer set to True and
the MainMenu Windows Component.
When I select one of the Menu options from the MainMenu Windows Component I
would like to open another form within the IsMdiContainer Form above.

How can I do this?

Thanks In Advance,
Kevin Humphreys.
 
H

Herfried K. Wagner [MVP]

Ken Humphreys said:
I have created a new Windows form with the IsMdiContainer set to True and
the MainMenu Windows Component.
When I select one of the Menu options from the MainMenu Windows Component
I would like to open another form within the IsMdiContainer Form above.

\\\
Dim f As New Form1()
f.MdiParent = Me
f.Show()
///
 
D

David Artieda Gazulla

Ken Humphreys escribió:
Hi There,
I have created a new Windows form with the IsMdiContainer set to True and
the MainMenu Windows Component.
When I select one of the Menu options from the MainMenu Windows Component I
would like to open another form within the IsMdiContainer Form above.

How can I do this?

Thanks In Advance,
Kevin Humphreys.


you can do this

dim f as new form2
f.mdiparent=me
f.show()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top