Windows Develop Bookmark and Share   
 index > Windows Forms General > Focus moves to other form
 

Focus moves to other form

Hi,

I am using MDI. When i press 'Button' in MDIChild, the form focus moves to some other form which was already opened, whats the problem behind that. If u have any solutions for this please respond. Thanks in advance....

Regards,

Latha

Mickyy  Thursday, January 10, 2008 10:30 AM

It is impossible to know what is happening without some code, in order to analyze the problem I would need all events used on this 'Button' and it would be good to know the events used on the MDI Form also.

I would guess that the code on your Button.Click event handler is setting the focus to the other form.

Regards,

Fábio

Fábio Franco  Thursday, January 10, 2008 10:44 AM
We are changing the issue type to “Comment�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
Thank you!

Yu Guo â€?MSFT  Tuesday, January 15, 2008 4:00 AM

You can use google to search for other answers

Custom Search

More Threads

• THow do I chnage A TrackBar slider (thumb)?
• second form setting first form field
• How to .Save(...) a Bitmap Object in 16-bit?
• Integrate Flash SWF and .net app
• Memory collects and doesn't let go...
• Duplicate text in 2 textbox concurrently
• (partially) formatting radiobutton/checkbox text in vb.net
• Unable to display usercontrol when using doublebuffer
• need help fast
• Change color of directory