MDI Form Does not display Child Form if a Split Container used

MDI Form Does not display Child Form if a Split Container used

Post by Mike T » Wed, 01 Feb 2006 23:12:34


Jan 31, 2006

Dear all

I am new to VB Net 2005 and learning by building a small project.

I have created an MDI Form. I placed a SplitContainer on the MDI Form. Now
when I want to display a Child Form on the MDI Form, it will not show. If I
remove the SplitContainer, it is displayed.

(Code)
Dim ChildForm1 As New ChildForm()
ChildForm1.MDIParent=Me
ChildForm1.Show()

Thank you.
 
 
 

MDI Form Does not display Child Form if a Split Container used

Post by Marti » Thu, 02 Feb 2006 07:45:58

That's why I use the splitter. The Split container occupies the entire MDI
workspace, leaving no space for any children.

Hth,
Martin