|
-
Jun 22nd, 2010, 05:47 AM
#8
Re: Numeric Text Box
 Originally Posted by dee-u
Other systems could be using other symbols for decimal operators and negative signs, you may want to take that into consideration. And, how about pasting a valid currency text eg. $1.00? Would it not be allowed? It also doesn't allow pasting valid formatter no. eg. 1,000.00.
Certainly those are things to consider. The problem with allowing currency symbols to be entered is making sure that it's in the correct position to represent a valid value. Also, some currency formats might require multiple characters, so you'd have to allow them to enter one without any guarantee that they'd enter the rest. I think probably allowing a valid currency value to be pasted in but then stripping off the currency formatting would be a good idea, but not allowing currency values to be typed in. I think the same for group separators would be the way to go. I'll also correct the fact that different decimal separators are not supported. Thanks for that.
I've recoded things a bit in an effort to get the NullableValue, Value and Text properties to play together a bit better. I should have that part sorted by tomorrow, my time, so I'll look at the issues you raised after that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|