Hi Swami,

> Am 09.05.2018 um 21:21 schrieb Sannyasin Brahmanathaswami via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> 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.

usually:
...
focus on nothing
...
does the trick.

> br

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


_______________________________________________
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