Dismiss SoftKeyboard in Flex Mobile?

For example, say your InteractiveObject is a TextInput, then you can keep it from popping up with the following: private function onActivating(event:SoftKeyboardEvent):void { event.preventDefault(); }.

For example, say your InteractiveObject is a TextInput, then you can keep it from popping up with the following: private function onActivating(event:SoftKeyboardEvent):void { event.preventDefault(); } Or you can use EDIT: You can send it back with the following: Listen for the event when you want it to close (like hitting the "enter" key) and then use the setFocus property to change the focus to another component: private function CloseKeyboard():void { hidesoftkeyboard.setFocus(); }`.

Thanks, but I need a way to dismiss it programatically. Not prevent it from appearing. – Francisc Aug 29 at 17:50 Ah, different question.

See my edit - and use proper syntax – SQLiteNoob Aug 29 at 22:18 Hm, that's kind of a hack. I'll give it a go and let you know. Thanks.

– Francisc Aug 30 at 10:43 1 Yeah, it is a hack - but the problem is Flex doesn't deal with the native Android API, and has to cross-reference. Every release gets better, but we're still stuck on a few of these pesky issues. Check this for more info.

– SQLiteNoob Aug 30 at 13:39 Thanks, SQLiteNovice. – Francisc Aug 30 at 16:11.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions