Windows Develop Bookmark and Share   
 index > Windows Forms General > Bring to Front Form Problem
 

Bring to Front Form Problem

Hello,

I have the following problem:

I have a main form that has some children forms which each one is shown like

childForm1.Show(mainForm);


It seems that i cannot bring the main form in front of a child when both of them are opened.

Does it exist a way to achieve this?

Thanks in advance for any comments.


Abou  Tuesday, September 18, 2007 2:11 PM
Use Show() instead of Show(mainForm).
nobugz  Tuesday, September 18, 2007 2:20 PM
The problem arises from the fact that i still want the mainForm to be the owner of its children.
Abou  Wednesday, September 19, 2007 6:39 AM
Why?
nobugz  Wednesday, September 19, 2007 8:42 AM
I want the mainForm to be owner of other forms because i need all the behaviour characteristics of this relation except of the fact that the mainForm can never be brought in front from its children.
Is this a way to bring the parent form in front of its children?

Thanks for comments
Abou  Wednesday, September 19, 2007 8:47 AM
That didn't help. What specific behavior do you require?
nobugz  Wednesday, September 19, 2007 9:31 AM

You can use google to search for other answers

Custom Search

More Threads

• Problem Printing a datagrid in Visual C#
• How to stop automatic Panel refreshing
• Load HTML code into a Windows Forms Tooltip
• is there an api to get the mac address of a machine
• Please help me fix my Find and Find Next controls. Im so close!!
• Generating Reports in C# - Pls Help
• Clear autoselected first row in DataGridView
• VS2005, VB. How do I stop groupboxes and or tabcontrol entering other groupboxes
• Break a loop
• Customizing the color of the check mark in CheckedListBox