[Mono-bugs] [Bug 661996] Hexadecimal NumericUpDown control only accepts the digits 0-9

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 7 15:14:26 EST 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=661996#c1


Thomas Goldstein <stifu at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stifu at free.fr

--- Comment #1 from Thomas Goldstein <stifu at free.fr> 2011-01-07 20:14:25 UTC ---
I think the fix is simply:

int base = Hexadecimal ? 16 : 10;
Value = Check (Convert.ToDecimal (Convert.ToInt32 (Text, base)));

-- 
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