How to dismiss keyboard on mobile

Bob Sneidar bobsneidar at iotecdigital.com
Wed May 9 17:40:05 EDT 2018


That is what I do whenever I need a closeField or exitField to trigger on a currently entered field before running off and doing things. focus on nothing is what you want. 

Bob S


> On May 9, 2018, at 14:28 , J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> On 5/9/18 2:21 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
>> Putting this in the field does not help.
>> on returnKey
>>    closeField
>>    exitField
>> end returnKey
>> # does nothing: one would expect the field to lose focus/keyboard goes away.
> 
> These are just messages that the engine sends when the focus changes, they don't control the field themselves. As mentioned, "focus on nothing" is the command that does the actual work.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com





More information about the use-livecode mailing list