Link to home
Start Free TrialLog in
Avatar of Norma Posy
Norma PosyFlag for United States of America

asked on

Child Form in front

FormName.Show

Question: How can I make the form "FormName" appear in front of the form from which it was called?
Avatar of Pawan Kumar
Pawan Kumar
Flag of India image

Hi,
Pls try..like

1.
FormName.showdialog

Or...

2.
Private Sub OpenNewForm()
        Dim frm As New Form1
        frm.MdiParent = Me
        frm.Show()
    End Sub
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Norma Posy

ASKER

That's it! I knew that, but I forgot. It has been a while. Maintaining legacy software - one's memory slowly degrades if you don't use a specific item much.

Thank you.
You're welcome and I'm glad I was able to help.

If you expand the “Full Biography” section of my profile you'll find links to some articles I've written that may interest you.

Marty - Microsoft MVP 2009 to 2016
              Experts Exchange MVE 2015
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2015