On 5/10/18 4:21 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
Really… putting this  in the field should dismiss the keyboard

on returnKey
    closeField
    exitField
end returnKey

These are engine messages, not commands. They are sent when the user does something, and it's up to the script to do what is required. It's the same as "mouseUp" -- it doesn't do anything, it simply informs you that the mouse was clicked.

You could try this instead:

on returnKey
  focus on nothing
end returnKey

That's probably better than my other suggestion.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
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