[Mono-bugs] [Bug 79495][Nor] New - TextBox: If you enter text in a textbox that is longer than the width of the textbox the tb doesn't scroll the text to the left

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 25 14:24:30 EDT 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 alex.olk at googlemail.com.

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

--- shadow/79495	2006-09-25 14:24:30.000000000 -0400
+++ shadow/79495.tmp.3349	2006-09-25 14:24:30.000000000 -0400
@@ -0,0 +1,75 @@
+Bug#: 79495
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: alex.olk at googlemail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TextBox: If you enter text in a textbox that is longer than the width of the textbox the tb doesn't scroll the text to the left
+
+If you enter text in a TextBox and the text you enter is longer than the
+width of the TextBox the text doesn't scroll to the left.
+Instead the text disappears on the right side of the TextBox.
+
+Btw, no cursor is visible.
+
+Simple test case with a form and a textbox:
+
+using System;
+
+using System.Drawing;
+
+using System.Windows.Forms;
+
+
+
+namespace TextBoxScroll
+
+{
+
+	public class MainForm : Form
+
+	{
+
+		private TextBox textBox1;
+
+		public MainForm()
+
+		{
+			textBox1 = new TextBox();
+			textBox1.Location = new Point(112, 32);
+
+			textBox1.Size = new Size(64, 20);
+
+			textBox1.Text = "";
+		
+			ClientSize = new System.Drawing.Size(292, 85);			
+
+			Controls.Add(textBox1);
+
+		}
+
+		
+
+		[STAThread]
+
+		public static void Main(string[] args)
+
+		{
+
+			Application.Run(new MainForm());
+
+		}
+
+	}
+
+}


More information about the mono-bugs mailing list