3 Replies Latest reply on Aug 23, 2007 2:53 PM by kglad

    Remove the keylistener

    lokat
      I created a keyListener object and addListener for the object.onKeyDown in frame 1 only. Also, a button is setFocus once press "Tab" key in frame 1. When pressed "Enter" key, it will go to frame 2.

      However, when press "Enter" or "Tab", there still have some actions like go to next frame or focus on the text field in frame 2.

      What can i do to disable the function for pressing Enter" or "Tab" in other frames?