R
Robert Johnson
Hi all. I have a MDI child form that is a systems maintenance form. I have
7 buttons that will be used to call 7 lookup table maintance forms. My code
to call the lookup table child forms from the child form is the problem.
How do I code it?
The MainFrame.vb is the MDI container. I tried setting that as the MdiParent
but no joy... Obviously I can't use .Me as .Me is a child form also.. So
how do I do this?
Thanks in advance..
Robert
Here is the one that calls the maintence form for Color:
Private Sub btnColor_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnColor.Click
Dim frmCOL As New frmColorMaint
frmCOL.MdiParent = GRS2.MainForm <------- this is the MainFrame.vb
that is the MDI container
frmCOL.Show()
End Sub
7 buttons that will be used to call 7 lookup table maintance forms. My code
to call the lookup table child forms from the child form is the problem.
How do I code it?
The MainFrame.vb is the MDI container. I tried setting that as the MdiParent
but no joy... Obviously I can't use .Me as .Me is a child form also.. So
how do I do this?
Thanks in advance..
Robert
Here is the one that calls the maintence form for Color:
Private Sub btnColor_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnColor.Click
Dim frmCOL As New frmColorMaint
frmCOL.MdiParent = GRS2.MainForm <------- this is the MainFrame.vb
that is the MDI container
frmCOL.Show()
End Sub