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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +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); + } +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
