Page 1 of 1

Is there a "dismiss keyboard" command for iOS?

Posted: Mon Jun 13, 2011 7:21 pm
by Diane
Hello, I'm not sure if this is the place to post this, but here goes. I have a very simple app, that has a text field in it. When I run it in the iOS simulator, if I clicked inside the field, the keyboard comes up, and when I click outside, the keyboard goes away. I then brought in a background image, and now the keyboard won't go away. If I delete the background, keyboard goes away again.
Is there maybe a "dismiss keyboard" command that I could use?

Re: Is there a "dismiss keyboard" command for iOS?

Posted: Mon Jun 13, 2011 10:31 pm
by Mark
select empty

Re: Is there a "dismiss keyboard" command for iOS?

Posted: Mon Jun 13, 2011 10:33 pm
by Dixie
Hi...

Not knowing what you are really doing, but...

Code: Select all

on mouseDown
   focus on nothing
end mouseDown
if you put this in the script of your background image, the keyboard will go away...

hope it helps...

Dixie

Re: Is there a "dismiss keyboard" command for iOS?

Posted: Mon Jun 13, 2011 11:30 pm
by Diane
yayy Dixie, just the ticket! :D