Finding MdiParent property

toytoy

Well-known member
Joined
Jul 16, 2004
Messages
46
Programming Experience
1-3
Hi...

I try the example on Parent and Child....

I can find the IsMildContainer in the form1 when i first create the project.

However when i create another form2........i can 't find the MdiParent property in the form....

How do i know when MdiParent is visible at times and when is not.....

Thanks
 

mattcya

Member
Joined
Jun 18, 2004
Messages
16
Programming Experience
Beginner
Hi,

You can tell when the your form is an MDI is when the first form is highlighted as grey.

Then what you can do is add the code to open another form in the MDI window.

For Example....

Dim listWindow As New frmList()

Dim cnt As Integer

listWindow.MdiParent = Me

listWindow.Show()

 
Top Bottom