Child Forms

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
 
S

Sean

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top