open MDIChild
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
public formMain class .... dim frm as childform frm.mdiparent=me frm.show() ..... end class :-D
-
You can't make a form child of another child. you have to set the parent property to the main form. A form can't be parent and child together. You get the following error An unhandled exception of type 'System.ArgumentException' occurred in system.windows.forms.dll Additional information: A form cannot be both an MDI child and MDI parent so the parent must be the main form not the the child.