03-27-2012 11:14 AM
I need an EditField which will represent "money amount" such as "1,159,540.85"
I set a filter by using setFilter() method and a TextFilter where only "0123456789.," are valid chars.
When the field is focused, VirtualKeyboard shows up with all keys are invisible except "." key and if i press numeric button on keyboard, it shows the other chars (0123456789,) which is very hard to use.
I want "." key to be shown with other keys, or the numeric keyboard screen may be shown first to the user.
Is there a solution this?
03-27-2012 11:20 AM
03-27-2012 11:24 AM
Thanks for your reply Simon. I tried to use predefined filters, but they are not sufficient for many cases. For example FILTER_NUMERIC does not show "." and "," keys on Virtual Keyboard. It also does not let me add those keys to the EditField.
03-27-2012 11:31 AM
03-28-2012 03:07 AM
and that brings about the problem of entering negative values
I can eliminate the minus sign on keyChar, but when the user long presses "i" key, it is not handled in keyChar event and minus sign appears. I don't know where it is handled. Where is it handled?