I personally use *on* inputReturnKey
*focus* *on* nothing *end* inputReturnKey On Thu, May 10, 2018 at 6:02 PM Tore Nilsen via use-livecode < use-livecode@lists.runrev.com> wrote: > You could also try: > > on returnInField > > focus on nothing > > end returnInField > > > in the field script. That seems to do the trick on desktop at least, > whereas on returnKey does not when it is placed in the field script. > > > Tore Nilsen > > > 10. mai 2018 kl. 23:44 skrev J. Landman Gay via use-livecode < > use-livecode@lists.runrev.com>: > > > > 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 > > _______________________________________________ > 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 -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ 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