[Mono-bugs] [Bug 336218] TextBox MaxLength = 0 behaving wrong

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 24 17:11:41 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=336218#c5





--- Comment #5 from Gert Driesen <gert.driesen at pandora.be>  2007-10-24 15:11:41 MST ---
I haven't even had time to update from SVN, so I might have been to quick in
reopening the bug report.

The issues I saw in the commit were:
1) We're not distinguishing between single line and multiline textboxes.
2) We're using magic numbers instead of (public) consts.

MSDN mentions the following caps:

default: 32767 => short.MaxValue
Multiline=false: 2147483646 => int.MaxValue - 1 (or is it a typo in the docs?)
Multiline=true: 4294967295 => uint.MaxValue

The other text was just there (for me) to describe the MS behavior. I wasn't
(yet) implying that our behavior was different.

However, I think there are some differences but I'll doublecheck this first.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list