"on enterKey" not working

Paul Gabel paulgabel at comcast.net
Sat Oct 13 17:47:36 EDT 2007


Hello everybody:

Do any of you know why I get no response from the "on enterKey"  
handler? The following handler is on the card where the button  
"Continue" resides. The docs say: The message is sent to the active  
(focused) control, or to the current card if no control is focused.   
But there is no focus on any control, and there is no text field  
active.  When I hit the enter key, nothing happens — there is no  
beep, and there is no effect on the button "Continue." Am I missing  
something embarrassingly obvious?

on enterKey
   beep
   send mouseUp to btn "Continue"
   click at the loc of btn "Continue"	
end enterKey

Thank you. Paul Gabel

Rev Studio 2.8.1
Mac OS X 10.4.10
iMac Intel




More information about the use-livecode mailing list