Detect Return From Mobile Keyboard Without Native Field?
Richard Gaskin
ambassador at fourthworld.com
Thu Jul 14 10:13:31 EDT 2016
Scott Rossi wrote:
> On Android... I have values in some standard fields (not native)
> that I need to send to a handler. How can I trap the return key
> event on the mobile keyboard without having focus on a native field?
> Neither inputReturnKey or returnInField appears to get triggered.
Testing here, the returnInField message goes to the target field as
expected.
Does your LC field have focus at that time? If not try trapping
returnKey in the card script (though that raises the question, how does
one bring up the keyboard without an editable field having focus?).
Also, just curious: given the difficulty of emulating mobile text
editing conventions in LC fields, why not use a mobile-native field there?
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list