calling an mdi child from an mdi child

calling an mdi child from an mdi child

Post by Bernie Yae » Tue, 04 Jan 2005 12:33:02


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
 
 
 

calling an mdi child from an mdi child

Post by Bernie Yae » Tue, 04 Jan 2005 12:45:02

Nevermind - figured it out: so long as this is called
newmdichild.MdiParent = Me.MdiParent

BEFORE me.close, it works fine.

Bernie