Android native field focus problem
J. Landman Gay
jacque at hyperactivesw.com
Sat Oct 26 21:34:44 EDT 2019
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 | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 26, 2019 6:13:23 PM Iphonelagi via use-livecode
<use-livecode at lists.runrev.com> wrote:
> Hi all
>
> Routines rewritten using native field.
> Works great on IOS but Android
> Doesnt 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list