How to open MDI Child from within another MDI Child?

How to open MDI Child from within another MDI Child?

Post by a3ZyZGV2M » Sat, 02 Apr 2005 04:09:01


I am using VB.NET and trying to open an MDI Child form from another MDI Child
form. I have a "Next" button that should open up another child form. In VB6
this would have been simple, but I can't figure it out in VB.Net. I can get
the form to open but it is NOT displayed as a child and does not show up in
the Windowlist on the main MDI form, etc.

Can anyone tell me the right code to do this?
Many Thanks,
-Valerie
 
 
 

1. Access control of a mdi child from mdi child

2. MDI question - how to call other MDI child forms from a MDI chilid form?

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

3. Clarion MDI child windows within C# MDI containers

4. How to get a list of opened MDI child windows in MDI main frame?

5. Help - Assigning MDI Child to MDI Container when called in a Modul

6. How do I write to the MDI Parent statusbar from a MDI child form?

7. Mdi Parent controls showing on Mdi Child forms

8. Using MDI child (in C++) from an dotnet MDI parent

9. Subscribe MDI parent form to MDI child Closed event

10. MDI Child Forms in a DLL, how to bring em up in the MDI Form?

11. Closing a MDI Child from the MDI parent throws an exception

12. How to host a .NET MDI Child Window inside a VB6 MDI Application

13. Calling MDI child from a dotnet MDI parent

14. Q: MDI Child Forms in a DLL, how to bring em up in the MDI Form?

15. Can an MDI child listen for mainmenu events on the MDI parent?