How to dismiss keyboard on mobile

Ralph DiMola rdimola at
Wed May 9 15:38:42 EDT 2018

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

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at] 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)


1) user make a text selection (search box)
2) need to dismiss the keyboard (having made the text selection, which
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
end returnKey

# does nothing: one would expect the field to lose focus/keyboard goes away.

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription

More information about the Use-livecode mailing list