Enter vs Return

Mark Smith mark at maseurope.net
Sat Mar 25 11:06:59 EST 2006


Really?

when I put that in the script of a field (or a backscript) I get an  
error : closeField handler not found

on enterInField
select empty
end enterInfield

has always done the trick for me...

Mark

On 25 Mar 2006, at 15:52, simplsol at aol.com wrote:

> I thought this was entered in Bugzilla, but couldn't find it.
> I'm hoping someone has come up with a good workaround.
> When using the Enter key in a field, I get a return. I want the  
> Enter key to simply close the field without adding lines. If I put:
>
> on enterInField
>     closeField
> end enterInField
>
> in a field, it produces the desired results (the Enter key acts  
> like it does in a spreadsheet).
> If I put the same handler in the stack script it generally works  
> right.
> If I put this handler in a "startusing" library stack is is ignored.
>
> There must be a better way.
>
> Have you solved this? Appreciate your help.
> Paul Looney
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list