Page 1 of 1

[SOLVED] Syntax for decimal keyboard and done iOS

Posted: Mon Sep 17, 2012 4:36 pm
by anmldr
Newbie syntax problem I am sure. This does not work for me for a text field. The standard ABC keyboard appears.

Code: Select all

on openField
   set iphoneSetKeyboardType decimal
   set iphoneSetKeyboardReturnKey done
end openField
Linda

P.S. I hope that I don't wear out my welcome here!

Re: Syntax for decimal keyboard and done iOS

Posted: Mon Sep 17, 2012 4:39 pm
by Klaus
Hi Linda,

try with QUOTES and "numeric" instead of "decimal" (go figure, I found this in the LC dictionary! 8) ):
...
set iphoneSetKeyboardType "numeric"
set iphoneSetKeyboardReturnKey "done"
...

Still welcome! :D



Best

Klaus

Re: Syntax for decimal keyboard and done iOS

Posted: Mon Sep 17, 2012 8:27 pm
by anmldr
It was the quotes that I was missing. But, "decimal" is a different keyboard than the "numeric" one. I was wrong about the "done" though because there is no place for the "done" area on the decimal keyboard.

Thanks,
Linda

Re: Syntax for decimal keyboard and done iOS

Posted: Mon Sep 17, 2012 10:10 pm
by Klaus
Hi Linda,
anmldrBUSua9K wrote:But, "decimal" is a different keyboard than the "numeric" one.
yes, sorry, my fault, of course you are correct!


Best

Klaus