Author: rolf
Date: 2007-01-16 13:45:40 -0500 (Tue, 16 Jan 2007)
New Revision: 71163

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
Log:
2007-01-16  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>

        * MdiClient.cs: Update main form's ActiveChild when
        updating keyboard focus for the mdi child.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-01-16 18:41:40 UTC (rev 71162)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-01-16 18:45:40 UTC (rev 71163)
@@ -1,3 +1,8 @@
+2007-01-16  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
+
+       * MdiClient.cs: Update main form's ActiveChild when
+       updating keyboard focus for the mdi child.
+
 2007-01-16  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * Control.cs: PreferredSize fix.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs     
2007-01-16 18:41:40 UTC (rev 71162)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs     
2007-01-16 18:45:40 UTC (rev 71163)
@@ -114,6 +114,7 @@
                                ParentForm.SendControlFocus (this);
                        } else {
                                active.SendControlFocus (active);
+                               ParentForm.ActiveControl = active;
                        }
                }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to