Page 1 of 1

Numbers keyboard and screen sliding with keyboard

Posted: Thu Apr 26, 2018 2:42 am
by omsbsd
Hello
I built a basic math application and I need codes or methods for one of the following:
-How to change the default keyboard of the app/card/field from regular keyboard to numbers.
-When the keyboard appears it covers the field, how can the screen slide with it?

Thank you so much!

Re: Numbers keyboard and screen sliding with keyboard

Posted: Thu Apr 26, 2018 2:15 pm
by Klaus
Hi omsbsd,

welcome to the forum! :D

1. Use this command:
...
mobileSetKeyboardType "numeric"
...
2. I don't own a mobile devce nor do I develop for mobile, but I would simply move the field X pixel "upwards" "on openfield", so it is not covered by the keyboard.

Then "on closefield" and "on exitfield" move it back to its original position.


Best

Klaus

Re: Numbers keyboard and screen sliding with keyboard

Posted: Thu Apr 26, 2018 4:15 pm
by jmburnod
Hi omsbsd,
What Klaus said and
You also may use keyboardActivated message to set the loc of your field up and "focus on nothing" on exit/close field to close keyboard.
Best regards
Jean-Marc