[Mono-bugs] [Bug 80630][Min] New - wrong background color for read only textboxes
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Jan 25 21:29:22 EST 2007
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 toshok at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80630
--- shadow/80630 2007-01-25 21:29:21.000000000 -0500
+++ shadow/80630.tmp.6751 2007-01-25 21:29:21.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 80630
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: Windows.Forms
+AssignedTo: jackson at ximian.com
+ReportedBy: toshok at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: wrong background color for read only textboxes
+
+On windows the following has one textbox with a grey background (the ro
+one) and one with a white background (the rw one).
+
+using System.Drawing;
+using System.Windows.Forms;
+
+public class foo : Form {
+ public static void Main (string[] args) {
+ Application.Run (new foo ());
+ }
+
+ public foo () {
+ TextBox t1 = new TextBox();
+
+ t1.Text = "read/write";
+
+ TextBox t2 = new TextBox();
+
+ t2.Text = "read only";
+ t2.ReadOnly = true;
+
+ t1.Location = new Point (0,0);
+
+ t2.Location = new Point (0, 50);
+
+ Controls.Add (t1);
+ Controls.Add (t2);
+ }
+}
More information about the mono-bugs
mailing list