1 Reply Latest reply on Jun 2, 2008 11:27 AM by camfieldaj

    TextField.text not clearing

    Mike Bauer Level 1
      I have a TextField that I have attached a KeyDown listener too. This listener executes the method in the attached code. Basically, it sees if the user typed a /, followed by some number, followed by a space. If this happens, the TextField should be cleared. Everything is working except the clear.

      One thing to note, I originally tried this with a KeyUp listener instead, but it did absolutely nothing at all. I am not sure if this is normal or if its broken, but no matter what keys I pressed, my listener code never got called.