Behavior follows:

on keyDown
  --put the key
  if the key = RETURN then
    DoIt
  end if
end

You need to do a pass for it to get to the field. Also, you might want to check for enter as well:


on keydown
  if the key = return or the key = enter then
     doit
  else
     pass
  end if
end

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to