Creating an MDI child
-
I have a form named frmMain, it's an MDI container (MDI parent). How do i create an MDI child for that form. Child's name should be frmText. Zero
Depends on whether you are using vb6 or .Net In vb6, Set the
MDIChild
property of your child form to true during design time. For VB.Net, you have to explicitly assign the child to the MDI Parent during runtime, just before the child is shownDim frm as frmText
frm.MDIParent = frmMain
frm.Show()
"if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler.
-
Depends on whether you are using vb6 or .Net In vb6, Set the
MDIChild
property of your child form to true during design time. For VB.Net, you have to explicitly assign the child to the MDI Parent during runtime, just before the child is shownDim frm as frmText
frm.MDIParent = frmMain
frm.Show()
"if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler.
-
I have a form named frmMain, it's an MDI container (MDI parent). How do i create an MDI child for that form. Child's name should be frmText. Zero
Creating the child form as you created the container. Just select the MDI Parent frmMain add another windows form and call it frmChild, or whatever you like to call it. That's it. Then do you coding from there. bravo659