Hi Richmond,

> Am 20.12.2017 um 19:31 schrieb Richmond Mathewson via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> ...
> Anyway, I came across
> on returnInField  and
> on enterInField
> which I found (this must go down as the ultimate example of reinventing the 
> wheel)
> are also "there" in LiveCode, which is marvellous . . .
> 
> But . . .
> as the children I code EFL programs for (and an awful lot of adults) treat the
> RETURN key and the ENTER key as functionally equivalent I will either:
> Have to endless reduplicate scripts for the RETURN and the ENTER key,
> or, erm, find a way to do something like this:
> on returnInField or EnterInField
> 
> ?

I ususally script:

on returninfield
   ## lots of code here...
   ## and here, too!
   ## and even more here...
end returninfield

on enterinfield
  returninfield
end enterinfield

:-)

> Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


_______________________________________________
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