Hi,
I'm new to VB.NET and want to make childs in a MDI form but I don't find any property like MDIChild or something to set true (like I use to do in VB6) How can I make this child forms?
Thanx for any help.
Printable View
Hi,
I'm new to VB.NET and want to make childs in a MDI form but I don't find any property like MDIChild or something to set true (like I use to do in VB6) How can I make this child forms?
Thanx for any help.
Not sure if this is the only/best way, but it works...
For your parent form, set IsMdiContainer to True. Then show a form that you want to be the child - something like
VB Code:
Dim frm As New NewCall ' NewCall is a System.Windows.Forms.Form frm.MdiParent = Me frm.WindowState = FormWindowState.Maximized frm.Show()
When showing the form set the MDIParent property to the MDIContainer form. I don't remember if you can set that property at designtime or not, sorry.
-Yeah what he said! :D
Thankx a lot guys that works fine! :)
I don't think so. I've went true all the form properties 5 times and I didn't found a right property for that action.Quote:
Originally posted by Edneeis
I don't remember if you can set that property at designtime or not, sorry.