Copy and Paste with NumberFormatter [message #592607] |
Tue, 21 October 2008 17:42 |
Leo Niedermeier Messages: 4 Registered: July 2009 |
Junior Member |
|
|
Hi,
I am trying to use NumberFormatter and DataBinding with a Text control.
When I insert some number with copy and paste, only the first digit
appears in the text control. When I change the verifyText method form
(line 637 ff)
int d = editValue.indexOf(EMPTY + symbols.getDecimalSeparator()); //
Decimal separator position
for (int i = 0; i < e.text.length(); i++) {
....
to
for (int i = 0; i < e.text.length(); i++){
int d = this.editValue.indexOf(EMPTY +
this.symbols.getDecimalSeparator());
...
it works. So I have two questions:
1. Does copy and paste work with NumberFormatter?
2a. If yes: Can you give mi some hint what to do?
Somebody can give me some help on this?
Thanks in advance.
Leo
|
|
|
Powered by
FUDForum. Page generated in 0.02699 seconds