Groups | Blog | Home
all groups > vb.net > january 2005 >

vb.net : calling an mdi child from an mdi child


Bernie Yaeger
1/2/2005 10:33:02 PM
I'm trying to open an mdi child from a different mdi child, thus:
Dim newmdichild As New printprocess

newmdichild.Parent = Me.MdiParent

newmdichild.Show()

Yet the parent line does nothing, as the new form is bound by nothing. How
can I call printprocess so that it is contained within the mdi container, as
the first form is?

Thanks for any help.

Bernie Yaeger



Bernie Yaeger
1/2/2005 10:45:02 PM
Nevermind - figured it out: so long as this is called
newmdichild.MdiParent = Me.MdiParent

BEFORE me.close, it works fine.

Bernie

[quoted text, click to view]

AddThis Social Bookmark Button