Problem : Why owned form become TopMost

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mpathfinder
    New Member
    • Jan 2008
    • 3

    Problem : Why owned form become TopMost

    hi everybody
    i have a MDI form that it shows child forms with the "Show()" method .
    in one of that child forms i show another form that owned by this form again with the "Show()" method .
    this cause this second form become TopMost . means that all another forms are shown behind this second form .
    why this happen ?

    code is like this :
    /// within MDI form
    frmChild1 frm = new frmChild1();
    frm.MdiParent = this;
    frm.Show();

    /// within frmChild1 form
    frmTest frmtest = new frmTest();
    frmtest.Owener = this;
    frmtest.Show();


    in above example frmtest become TopMost and another child forms are shown behind this form
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    That would be the nature of MDI windows would it not?

    Comment

    Working...