[Mono-bugs] [Bug 80130][Wis] New - TextBox does not select the text when the form is loaded

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Dec 2 12:37:31 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by georgegiolfan at yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80130

--- shadow/80130	2006-12-02 12:37:31.000000000 -0500
+++ shadow/80130.tmp.12820	2006-12-02 12:37:31.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 80130
+Product: Mono: Class Libraries
+Version: 1.0
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TextBox does not select the text when the form is loaded
+
+Description of Problem:
+TextBox does not select the text when the form is loaded
+
+Steps to reproduce the problem:
+1. Compile and run the following program.
+using System;
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    public TestForm() {
+        TextBox TextBox = new TextBox();
+        TextBox.Text = "123";
+        Controls.Add(TextBox);
+    }
+}
+2. Type "4".
+
+Actual Results:
+The text in the TextBox is "4123".
+
+Expected Results:
+The text in the TextBox is "4".
+
+
+How often does this happen? 
+Always.


More information about the mono-bugs mailing list