Exit text field with Enter or Return

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
carel
Posts: 58
Joined: Mon Jul 29, 2013 2:49 pm

Exit text field with Enter or Return

Post by carel » Mon Sep 09, 2013 4:46 pm

I can't exit (trigger code) with enter being pressed from a text field.

I tried on enterKey and on returnKey and even tried on keyDown (if it is return then ....)

Can anybody help ???

Thanks,

Carel

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Exit text field with Enter or Return

Post by FourthWorld » Mon Sep 09, 2013 4:53 pm

Those two keys have special messages for use in an editable field - try returnInField and enterInField.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

carel
Posts: 58
Joined: Mon Jul 29, 2013 2:49 pm

Re: Exit text field with Enter or Return

Post by carel » Mon Sep 09, 2013 6:14 pm

Thank you!!!

Post Reply