2 Replies Latest reply on Dec 9, 2006 11:20 AM by Newsgroup_User

    Exit when press Return

    Level 7

      I have a text field and I need to let to write in it, but when Return is
      pressed I must detect it and exit.
      The problem is that when i put this code into the textfield I can't write
      anything in it.

      on Keydown
      if (_key.keyPressed(RETURN)) then
      end if

      Can you help me to solve this?
      thank you