https://bugzilla.novell.com/show_bug.cgi?id=428107


           Summary: RichTextBox.Clear() leads to errors
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: Beta-Customer


Description of Problem:

After a call to RichTextBox.Clear(), the behaviour of the RichTextBox class
gets pretty strange.

Steps to reproduce the problem:
1. Build a form with a RichTextBox named "richTextBox1"
2. Run the following code:


richTextBox1.Clear();
richTextBox1.AppendText("test");


Actual Results:

The text "test" does not appear in the gui. Also richTextBox1.Text does not
work correctly anymore.

Expected Results:

The text should appear, since richTextBox1.Clear() should do the very same as
the following line (that works fine):

richTextBox1.Text = string.Empty;

How often does this happen? 

Always.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to