Return Key in Form Fields

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
basheps
Posts: 11
Joined: Tue May 31, 2011 11:53 am

Return Key in Form Fields

Post by basheps » Tue Jul 12, 2011 12:08 pm

Hi, I have a card that takes in form values. When I press the Tab key the focus automatically goes to the next field. How can I get the Return key to have the same behavior? I've tried listening for the Return key and sending the rawKeyCode of the tab key instead but that doesn't work.

basheps
Posts: 11
Joined: Tue May 31, 2011 11:53 am

Re: Return Key in Form Fields

Post by basheps » Tue Jul 12, 2011 12:14 pm

Silly me. I found the answer. "Tab on Return" is a property of the Text Entry Field.

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Return Key in Form Fields

Post by Klaus » Tue Jul 12, 2011 12:45 pm

Hi basheps,

hint: the name of the property is "autotab"!
Just in case you need to set this via scipt :)


Best

Klaus

Post Reply