It works here, in fact I had to go out of my way to make it not happen because we didn't want the keyboard popping up. But you do have to have a LC field in place.

If the field is the first editable field then LC selects it as usual on opencard, which triggers the Android keyboard to appear. You can make the LC field transparent and empty if you aren't going to use it. You can set the selectedRange in the native field if you want to. Actually, setting the range might be enough by itself.

I generally keep LC fields for use in the IDE and create native fields over them in mobile, emptying or hiding them if necessary. That way you already have a rect to use, and testing in the IDE is more convenient.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 26, 2019 6:13:23 PM Iphonelagi via use-livecode <use-livecode@lists.runrev.com> wrote:

Hi all

Routines rewritten using native field.
Works great on IOS but Android
Doesn’t focus on first field to bring up keyboard on initial pageload. The user has to press the field.

How do we set focus to the field?

Lagi

Sent from my iPhone
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to