Child Forms

  • Thread starter Thread starter SouthSpawn
  • Start date Start date
S

SouthSpawn

I have an app that will call many child forms. I would like these child
forms to always display on top on the parent form until they are close. I
can get the first child form to stay on top. But when others are opened,
then the first child form I called will get hidden behind the parent form.
How do I keep all child forms to display above parent form even if it
doesn't have focus. I don't want to do a .ShowDialog either.

Thanks,
Mark
 
Hi Mark,

Say that you have the following forms:
Form parentForm
Form child1
Form child2

Try doing this:
child1.Parent = parentForm;
child2.Parent = parentForm;

Good luck!


regards,
Sean
 
Back
Top