Hi Mike It’s not a good idea putting it into an openField handler as this is often as or after the keyboard has already opened. Setting it in the mouseDown will catch it earlier. Or setting transverse to false until a mouseDown/Up which first sets the keyboardType then sets its transverse to true and focus to it. (Set the transverse back to false on exitFocus).
Perhaps this is how the docs should be updated to accommodate this behaviour - as well as double checking the handling of ‘alphabet’. Sean Cole Pi Digital > On 3 Nov 2018, at 11:56, Andrew Bell via use-livecode > <[email protected]> wrote: > > I think that code is based off a documentation bug because "alphabet" is not > a listed parameter in the dictionary (even though it is the first example > shown after the listed parameters). I use: > > The mobile keyboard won't activate unless a field has focus and the "default" > keyboard is already the alphabetic keyboard. What do you mean by it's not > working? What keyboard are you trying to see vs what you are seeing? > > --Andrew Bell > > >> 1. problem with mobileSetKeyboardType (Mike for GDC) > >> From: "Mike for GDC" <[email protected]> >> To: <[email protected]> >> Subject: problem with mobileSetKeyboardType >> Message-ID: <[email protected]> >> Content-Type: text/plain; charset="us-ascii" >> >> I have not been able to get the "mobileSetKeyboardType" command to work on >> my android. I have tried various options, such as: >> >> >> >> on openField >> if the environment is "mobile" then >> mobileSetKeyboardType "alphabet" >> end if >> end openField >> >> >> and >> >> >> on mouseUp >> if the environment is "mobile" then >> mobileSetKeyboardType "alphabet" >> end if >> end mouseUp >> >> >> >> Neither work. All I get is the standard keyboard from the android. >> Any suggestions? >> > > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
