Focus on nothing or send backKey to the engine on Android.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Sannyasin Brahmanathaswami via use-livecode
Sent: Wednesday, May 09, 2018 3:21 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: How to dismiss keyboard on mobile

On mobile

I have a UI (for searching audio)

where:

1) user make a text selection (search box)
2) need to dismiss the keyboard (having made the text selection, which
remains)
3) so she can choose some other radio buttons: like "Title" or "Sub-title"
or "Genre"  (this is a audio/music search UI)

How to get rid of the keyboard? And let the user can keep going in the UI
while field keeps the data, until "submit" or clicks "search"

On iOS is see a control for keyboard search where word "Done" appears
above/right of the keyboard. You click it, the keyboard disappears

Can we hack that UI in Livecode? There must be some way to make the keyboard
disappear -- without triggering any other action.

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.


br
_______________________________________________
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