Brad Jones
September 6th, 2006, 08:56 AM
[code]
Private Sub MDIParent1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim FChild As New Form1 'create new form object
FChild.MdiParent = Me 'set the MDI Parent property of the created form to the MDI Form (Me)
FChild.Show() ' show the child form inside the MDI form
End [size=2][color=#0000ff]Sub
Private Sub MDIParent1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim FChild As New Form1 'create new form object
FChild.MdiParent = Me 'set the MDI Parent property of the created form to the MDI Form (Me)
FChild.Show() ' show the child form inside the MDI form
End [size=2][color=#0000ff]Sub