A problem with Return in a field

J. Landman Gay jacque at hyperactivesw.com
Tue Dec 12 11:46:19 EST 2006


Robert Brenstein wrote:

> If you want to trap return you need 4 handlers in your field
> 
> on returnKey
> on enterKey
> on returnInField
> on enterInField

Actually, just to be picky, the returnKey and enterKey handlers aren't 
needed in fields. Only returnInField and enterInField are sent directly 
to fields. The other two will never trigger.

That said, I had no problem running Charle's field script as long as the 
field was sized correctly. The keydown handler worked as expected when 
autoTab was set to true.

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



More information about the use-livecode mailing list