https://bugzilla.novell.com/show_bug.cgi?id=330495#c1


Ernesto Carrea <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]




--- Comment #1 from Ernesto Carrea <[EMAIL PROTECTED]>  2007-10-04 16:14:32 MST 
---
The test case results in a form with no active control.

The problem is MDI-related, because MDI children will not receive a
Form.WmActivate message. (The test app will work ok if you comment MdiParent =
AppDesktop.MainForm;).

According to the ChangeLog, on 2007-01-10 a call to SelectActiveControl was
removed from Form.OnCreateControl because it was unnecessary. This call might
be necessary for MDI children. Something like:

if (this.MdiParent != null && this.ActiveControl == null)
        SelectActiveControl();

will fix the problem. Or perhaps this call should be made somewhere else, just
not Form.WmActivate.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to