1. On mobile devices, the dictionary says that I can use
Code: Select all
set the keyboardType of field "odd" to "numeric"
Thanks for the help!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
set the keyboardType of field "odd" to "numeric"
Code: Select all
on preOpenStack
...
if the platform is in "android iphone" then
mobileSetKeyboardDisplay "pan"
end if
...
end preOpenStack
Code: Select all
on openField
if the environment is "mobile" then
mobileSetKeyboardType "numeric"
end if
pass openField
end openField
on keyDown theKey
if theKey is not a number then beep
else pass keyDown
end keyDown