Thank you everybody! SKIP
> On Nov 25, 2014, at 5:15 PM, Mike Bonner <bonnm...@gmail.com> wrote: > > Ok. I like the colin method with mod. > >> On Tue, Nov 25, 2014 at 3:12 PM, Colin Holgate <co...@verizon.net> wrote: >> >> This would let you go forward and backwards, but you can already do this >> with no code by using the tab key: >> >> >> on returninfield >> if the shiftkey is down then >> put the number of the target - 1 into f >> if f = 0 then >> put the number of fields into f >> end if >> else >> put the number of the target mod the number of fields + 1 into f >> end if >> focus on fld f >> end returninfield >> >> >> on EnterInField >> returnInField >> end enterInField >> >> >> >> >>>> On Nov 25, 2014, at 4:59 PM, Magicgate Software - Skip Kimpel < >>> s...@magicgate.com> wrote: >>> >>> Just did :) If it is the last field it throws an error. >>> >>> I could simply working around this already knowing how many fields I have >>> but what would be a more programmatic way of doing this? >>> >>> SKIP >>> >>>> On Tue, Nov 25, 2014 at 4:53 PM, <dunb...@aol.com> wrote: >>>> >>>> No problem. >>>> >>>> >>>> Have you encountered the problem yet? >>>> >>>> >>>> Craig >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: Magicgate Software - Skip Kimpel <s...@magicgate.com> >>>> To: How to use LiveCode <use-livecode@lists.runrev.com> >>>> Sent: Tue, Nov 25, 2014 4:41 pm >>>> Subject: Re: Focus on next field >>>> >>>> >>>> That's it... works perfectly. Thanks for making that connection for me >> :) >>>> >>>> SKIP >>>> >>>>> On Tue, Nov 25, 2014 at 4:24 PM, <dunb...@aol.com> wrote: >>>>> >>>>> 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 <s...@magicgate.com> >>>>> To: How to use LiveCode <use-livecode@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@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 >>>> _______________________________________________ >>>> 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 >>> _______________________________________________ >>> 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 > _______________________________________________ > 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