Home All Groups Group Topic Archive Search About

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

Author
31 Jan 2006 2:12 PM
Mike TI
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.

Author
31 Jan 2006 10:45 PM
Martin
That's why I use the splitter. The Split container occupies the entire MDI
workspace, leaving no space for any children.

Hth,
Martin

Show quoteHide quote
"Mike TI" <sunset***@hotmail.com> wrote in message
news:eU7dkBnJGHA.524@TK2MSFTNGP09.phx.gbl...
> 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.
>
>