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=80590 --- shadow/80590 2007-03-09 18:16:11.000000000 -0500 +++ shadow/80590.tmp.1046 2007-03-09 18:46:10.000000000 -0500 @@ -1,13 +1,13 @@ Bug#: 80590 Product: Mono: Class Libraries Version: 1.2 OS: other OS Details: -Status: RESOLVED -Resolution: FIXED +Status: REOPENED +Resolution: Severity: Unknown Priority: Minor Component: Windows.Forms AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] @@ -64,6 +64,28 @@ to ForeColor, BackColor, Invalidate, etc. Maybe this MWF behavior should be documented if it is left as it is now. ------- Additional Comments From [EMAIL PROTECTED] 2007-03-09 18:16 ------- Fixed in SVN. Thanks for the report. + +------- Additional Comments From [EMAIL PROTECTED] 2007-03-09 18:46 ------- +using System; +using System.Drawing; +using System.Windows.Forms; +class TestForm : Form { + static void Main() { + Application.Run(new TestForm()); + } + TextBox t = new TextBox(); + public TestForm() { + t.Text = "Test"; + t.ReadOnly = true; + Controls.Add(t); + } + protected override void OnLoad(EventArgs e) { + base.OnLoad(e); + t.ForeColor = Color.Red; + } +} + +Expected results: The text should not be red. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
