[Mono-bugs] [Bug 78773][Nor] Changed - TextBoxBase: TextChanged event isn't fired when it's set by first time and gets a String.Empty value

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 15 13:56:07 EDT 2006


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 peter at novonyx.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78773

--- shadow/78773	2006-07-06 05:52:07.000000000 -0400
+++ shadow/78773.tmp.885	2006-08-15 13:56:07.000000000 -0400
@@ -45,6 +45,11 @@
 doesn't contains the text currently in the graphical text box until
 TextBoxBase.Text setter is called for the first time, and thus it has
 a String.Empty value. So, if the first value that Control.Text gets
 (invoked from TextBoxBase) is a String.Empty value, then the
 TextChanged event isn't fired, because both the previous value and the
 current one (Control.Text=String.Empty) are the same.
+
+------- Additional Comments From peter at novonyx.com  2006-08-15 13:56 -------
+Created an attachment (id=17457)
+Sample code, pulled from pastebin, before it expires
+


More information about the mono-bugs mailing list