A problem with Return in a field

J. Landman Gay jacque at hyperactivesw.com
Mon Dec 11 11:17:39 CST 2006


Devin Asay wrote:
> Charles,
> 
> (I've been following this discussion on the use-rev list, so I'm taking 
> the liberty to post it there too.)
> 
> I suspect your problem may be related to the fact that you have a 
> keyDown handler in the field that may be blocking the return key.  
> (Although it's not supposed to.) It should work if you force the return 
> key to "tab" to the next field by including a returnInField handler:
> 
> on returnInField
>   get the number of me
>   select the text of fld (it + 1)
> end returnInField
> 
> Anybody know why the keyDown handler blocks the autoTab? Maybe a 
> candidate for bugzilla?

It doesn't. I just tried it with the above script and it works fine.

I suspect his field is sized to include too many lines, so it accepts 
returns until it hits the last line.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list