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!
Numbers keyboard and screen sliding with keyboard
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Numbers keyboard and screen sliding with keyboard
Hi omsbsd,
welcome to the forum!
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
welcome to the forum!
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
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Numbers keyboard and screen sliding with keyboard
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
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
https://alternatic.ch