Author: jackson
Date: 2006-01-19 03:22:26 -0500 (Thu, 19 Jan 2006)
New Revision: 55771

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
Log:


        * ComboBox.cs: Hookup the text controls keydown event so we get
        those when the text control has the focus.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-01-19 06:41:05 UTC (rev 55770)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-01-19 08:22:26 UTC (rev 55771)
@@ -1,3 +1,8 @@
+2006-01-19  Jackson Harper  <[EMAIL PROTECTED]>
+
+       * ComboBox.cs: Hookup the text controls keydown event so we get
+       those when the text control has the focus.
+
 2006-01-18  Peter Dennis Bartok  <[EMAIL PROTECTED]> 
 
        * Label.cs: Now using the base events instead of defining new ones;

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs      
2006-01-19 06:41:05 UTC (rev 55770)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs      
2006-01-19 08:22:26 UTC (rev 55771)
@@ -144,7 +144,7 @@
                        MouseDown += new MouseEventHandler (OnMouseDownCB);
                        MouseUp += new MouseEventHandler (OnMouseUpCB);
                        MouseMove += new MouseEventHandler (OnMouseMoveCB);
-                       KeyDown +=new KeyEventHandler(OnKeyDownCB);
+                       KeyDown +=new KeyEventHandler(OnKeyDownCB);             
        
                }
 
                #region events
@@ -273,6 +273,7 @@
                                        textbox_ctrl.BorderStyle = 
BorderStyle.None;
                                        textbox_ctrl.TextChanged += new 
EventHandler (OnTextChangedEdit);
                                        textbox_ctrl.KeyPress += new 
KeyPressEventHandler(textbox_ctrl_KeyPress);
+                                       textbox_ctrl.KeyDown += new 
KeyEventHandler (OnKeyDownCB);
                                        textbox_ctrl.GotFocus += new 
EventHandler(textbox_ctrl_GotFocus);
                                        textbox_ctrl.LostFocus += new 
EventHandler(textbox_ctrl_LostFocus);
 

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

Reply via email to