Enter vs Return

simplsol at aol.com simplsol at aol.com
Sat Mar 25 11:33:39 EST 2006


Mark,
on enterInField
select empty
end enterInfield

worked perfectly. Solved a host of problems.
Thank you.
Paul Looney

Everyone,
Isn't the current behavior of Enter (doing a return) wrong?
If I am the only one who thinks so, I'll work around it with Mark's 
cure. Otherwise I'll bugzilla it (thought it had been entered in 
Bugzilla already).
PL

-----Original Message-----
From: Mark Smith <mark at maseurope.net>
To: How to use Revolution <use-revolution at lists.runrev.com>
Sent: Sat, 25 Mar 2006 16:06:59 +0000
Subject: Re: Enter vs Return

   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 
 
 _______________________________________________ 
 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