Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change layouts 1

Status
Not open for further replies.

Akart

IS-IT--Management
Nov 14, 2002
71
0
0
AU
Hey folks,

I have an mdi child form with a link on it. When i click the link i want a different child form to open under the same parent as the first child form.

Opening the first child form was done from the parent with this code:

Dim NewMDIChild As New Search()
NewMDIChild.MdiParent = Me

NewMDIChild.Show()


I don't know how to open a child form from another child tho. Can you help?
Regards,

Akart
 
Try this...the idea works in C#, although its different syntax there.

Dim NewMDIChild As New Search()
NewMDIChild.MdiParent = Me.MdiParent

NewMDIChild.Show()
 
Brilliant.

Could not find that in the help files.

Thanks a million.

Akart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top