Author: jackson
Date: 2007-04-02 17:23:47 -0400 (Mon, 02 Apr 2007)
New Revision: 75311
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBox.cs
Log:
* TextBox.cs: LBUTTON does not make the textbox select all of
* it's
text on focus.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-04-02 21:07:38 UTC (rev 75310)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-04-02 21:23:47 UTC (rev 75311)
@@ -1,3 +1,8 @@
+2007-04-02 Jackson Harper <[EMAIL PROTECTED]>
+
+ * TextBox.cs: LBUTTON does not make the textbox select all of it's
+ text on focus.
+
2007-04-02 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
* XplatUIWin32.cs: Use the previous change in SetParent for forms only.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBox.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBox.cs
2007-04-02 21:07:38 UTC (rev 75310)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBox.cs
2007-04-02 21:23:47 UTC (rev 75311)
@@ -377,6 +377,9 @@
protected override void WndProc(ref Message m) {
switch ((Msg)m.Msg) {
case Msg.WM_LBUTTONDOWN:
+ // When the textbox gets focus by
LBUTTON (but not by middle or right)
+ // it does not do the select all /
scroll thing.
+ has_been_focused = true;
FocusInternal (true);
break;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches