M
morgan petterssson via DotNetMonster.com
This is probably a amateur problem
I?ve got an MDI application. When I create my child windows from my mdi
container (frmMain) there is no problem with the MdiParent. I just set it
to Me. As following.
visa_alla.MdiParent = Me
sok_forfattare.MdiParent = Me
lagg_in_ny.MdiParent = Me
But if I want to open an instance of lagg_in_ny from sok_forfattare I can?t
set MdiParent = Me because then it will be sok_forfattare (Child) and I
want the MdiParent to be frmMain.
If I do a new frmMain as
Public frmParent As New frmMain 'MDI Parent
And set MdiParent to frmParent it wont show.
I hope I can get some help here. Its probably not so complicated but I cant
get any examples of it anywhere.
I hope anyone can help me. Thanx!
I?ve got an MDI application. When I create my child windows from my mdi
container (frmMain) there is no problem with the MdiParent. I just set it
to Me. As following.
visa_alla.MdiParent = Me
sok_forfattare.MdiParent = Me
lagg_in_ny.MdiParent = Me
But if I want to open an instance of lagg_in_ny from sok_forfattare I can?t
set MdiParent = Me because then it will be sok_forfattare (Child) and I
want the MdiParent to be frmMain.
If I do a new frmMain as
Public frmParent As New frmMain 'MDI Parent
And set MdiParent to frmParent it wont show.
I hope I can get some help here. Its probably not so complicated but I cant
get any examples of it anywhere.
I hope anyone can help me. Thanx!