[Mono-bugs] [Bug 428107] New: RichTextBox.Clear() leads to errors

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Sep 20 05:10:10 EDT 2008


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: mono-bugs at lists.ximian.com
        ReportedBy: awunwpa7 at yahoo.com.ph
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list