Focus on next field

dunbarx at aol.com dunbarx at aol.com
Tue Nov 25 16:24:11 EST 2014


Hi.


If the fields are in order by number, then in the card script,



on returninfield
   focus on fld (the number of the target + 1)
end return infield


on EnterInField
returnInField
end enterInField


If they are in some other order, you should be able to modify as needed...


Craig Newman



-----Original Message-----
From: Magicgate Software - Skip Kimpel <skip at magicgate.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Tue, Nov 25, 2014 4:11 pm
Subject: Focus on next field


Hey LC'ers

How the heck to you pass focus to the next positioned field?  I am trying
to simulate the tab key action of tabbing if the user hits the enter or
return key instead inside of the enterInField and returnInField commands.

Thank you!

SKIP
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list