Hello.
I have One MainForm for my system. This MainForm is MDIContainer. From that form, i call other forms that are MDIContainers too. So, when i try to open one of this childForms from the MainForm
frmMain is GrandParent form
frmSub is Parent form
frmChild is child form
frmSub.MdiParent = Me // Me is the frmMain which is the Grandparent form
frmSub.Show()
i get this error.
Form cannot be both an MDI child and MDI parent.
Parameter name: value
Is there any workaround about this?
Thanks
I have One MainForm for my system. This MainForm is MDIContainer. From that form, i call other forms that are MDIContainers too. So, when i try to open one of this childForms from the MainForm
frmMain is GrandParent form
frmSub is Parent form
frmChild is child form
frmSub.MdiParent = Me // Me is the frmMain which is the Grandparent form
frmSub.Show()
i get this error.
Form cannot be both an MDI child and MDI parent.
Parameter name: value
Is there any workaround about this?
Thanks