Page 1 of 1

Do Something When OK Button On Android Keyboard

Posted: Wed Aug 26, 2015 4:27 am
by Googie85
on openStack
mobileControlCreate "input", "emailtext"
mobileControlSet "emailtext", "visible", true

mobileControlSet "emailtext", "rect", "220,350,550,400"
mobileControlSet "emailText", "textAlign", center

mobileControlSet "emailText", "keyboardType", "email"

end openStack


How do I make the keyboard do something when OK button is pressed? I have used the dictionary and am currently browsing the forum,

Any help would be appreciated...

Matthew.

Re: Do Something When OK Button On Android Keyboard

Posted: Wed Aug 26, 2015 5:41 am
by Simon
Hi Matthew,
I believe you want to use mobileControlGet.

Simon

Re: Do Something When OK Button On Android Keyboard

Posted: Wed Aug 26, 2015 6:26 am
by Googie85
Thanks for your reply but it dosn't help me much...

Many Thanks!!

Matthew.

Re: Do Something When OK Button On Android Keyboard

Posted: Wed Aug 26, 2015 7:59 pm
by jacque
The keyboard itself doesn't have an "OK" button, it has a "Return" key. Can you explain more about what you want to do?

Re: Do Something When OK Button On Android Keyboard

Posted: Fri Aug 28, 2015 11:51 am
by MaxV
You are looking for keyboardDeactivated message, see it in the dictionary.