Colin Holgate wrote:

Need this be a good thing? If you're typing into a multiline field you might 
not be finished at the time you press the Return key. On Mac at least there's 
the convention that the Enter key might complete the action, and the Return key 
is just a line break. Not sure how it is on Windows machines. So pressing Enter 
on Mac would give the expected behavior of completing the action. Look at the 
LC script editor as an example of that.

Peter's script traps returnKey, which is not sent when the Return key is hit while an open field has focus; in that circumstance the returnInField message is sent instead.

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

_______________________________________________
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