https://bugzilla.novell.com/show_bug.cgi?id=398605
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=398605#c2 --- Comment #2 from Valentin Sawadski <[EMAIL PROTECTED]> 2008-06-11 03:52:45 MDT --- Hi, I tried to come up with some unit test but the problem is that the MaxLength is being ignored when the Text-Property is being set directly. I just does not accept new keyboard input when the limit has been reached. This makes it hard to develop tests because I had trouble using sendkeys to emulate keyboard input. So far I could only advice you guys to create a form with a textbox and start typing. :-/ However I have taken a look into the sources and believe that the Document.CharCount has a wrong value which causes the bug in TextBox. For example, Document.CharCount is not being updated when "InsertCharAt" is being called, but this is the primary method used when typing into a TextBox. Kind Regards, Valentin -- 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 - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs