Form always over parent w/o Topmost

  • Thread starter Thread starter Lance
  • Start date Start date
L

Lance

How do I make a form always stay over a parent form, but
NOT have the form appear over forms outside of the
application.

For example, the Find window in VS.NET acts how I want.

Thanks,
Lance
 
Lance said:
How do I make a form always stay over a parent form, but
NOT have the form appear over forms outside of the
application.

For example, the Find window in VS.NET acts how I want.

Dim f as new form2
f.owner = me
f.show
 
Hi Lance,

Firstyou need to set the parent form's IsMDIcontainer to True, and then set
the child form's TopMost to True and ShowInTaskBar to False. When show
child form, use following code:

Dim frm As New ChildForm

frm.MdiParent = Me

frm.Show()

Does this answer you question?

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Armin's response is what I was looking for, but your info
will come in handy for something I'll be doing later on.

Thanks!
 
Back
Top