Open form in MDI Parent

stustarz

Well-known member
Joined
Jan 10, 2003
Messages
246
Location
Earth
hi

I currently have a main MDI Parent form and three MDI Children. I have a command button on one of the MDI children that opens another MDI Child. How do I set this button to open the new form as a child of the MDI Parent?

Does this make sense?

I currently have this code

Code:
        Dim frmComp As New frmComp()
        frmComp.Show()
        varTransItem = txtCompetition.Text

Thanks
 
Code:
Dim frmComp As New frmComp()
frmComp.MDIParent = Me.MDIParent
frmComp.Show()
 

Similar threads

J
Replies
0
Views
63
Jalil Sear [MCPD SharePoint]
J
I
Replies
0
Views
184
I'm GNit
I
Back
Top