Mike,

Did you already try iphoneSetKeyboardReturnKey? If so, and this didn't work for 
setting the return key, then the only thing I can think of would be to try and 
set the focus to some other control using the focus command, forcing the field 
to lose focus and the keyboard to dismiss. Maybe even an off-screen or hidden 
control?

Not having tried it myself, I'm not totally sure that'll work, but it's worth a 
try.

Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com



On Apr 9, 2013, at 8:42 AM, Mike Kerner <mikeker...@roadrunner.com> wrote:

> ios:
> I have a single line field that I want to use with the numeric keypad.
> That baby has no return key, so I created a separate button on the screen
> to send the inputReturnkey message to it, because trying to send it a CR,
> typing a return does not seem to do anything.
> 
> The problem is that afterwards, the keyboard stays on the screen.  If there
> was a keyboard with a return key on it on the screen, after hitting return
> the keyboard would dismiss.
> 
> Since tapping at some random location that doesn't have anything underneath
> it will also cause the field to lose focus and the keyboard to dismiss, I
> have tried click at x,y, where x,y is some empty space, but that doesn't
> seem to work, either.
> 
> How the heck do I get rid of this keyboard???
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to