ffm
May 9, 2011, 3:49am
1
Hello,
I have a native.newTextField with inputType = “number” and I cant hide keyboard becouse keyboard havent a “return” key.
I tryed to touch other object but keyboard still open.
How we can hide the keyboard ? its a bug ?
Regards.
Francisco. [import]uid: 11749 topic_id: 9797 reply_id: 309797[/import]
native.setKeyboardFocus( nil )
see the NativeKeyboard2 example in interface
you can even set this to background or any image (button) to hide keyboard [import]uid: 12482 topic_id: 9797 reply_id: 35688[/import]
ffm
May 9, 2011, 5:53am
3
Hello hgvyas123, thanks for your reply. You are right but this is not functionality. I need add/remove an unnecessary listener.
any other solution ?
Regards.
Francisco. [import]uid: 11749 topic_id: 9797 reply_id: 35697[/import]
yamauti
February 12, 2012, 7:41pm
4
I know that this is and old post and is “sort of” solved, but as the Original Poster, i’m looking for another kind of solution.
isn’t there any way to add a “return” key when inputing numbers as well? [import]uid: 125498 topic_id: 9797 reply_id: 86532[/import]