I have a form already created, but now want to expand the application.
I created a MDIParent, but cant seem to find how to change the existing form to an MDI child.
In VB6 it was as simple as a click in the properties....
Printable View
I have a form already created, but now want to expand the application.
I created a MDIParent, but cant seem to find how to change the existing form to an MDI child.
In VB6 it was as simple as a click in the properties....
by setting the MDIPArent when you show the form...
-tgCode:
' Create a new instance of the child form.
Dim ChildForm As New System.Windows.Forms.Form
' Make it a child of this MDI form before showing it.
ChildForm.MdiParent = Me