Is KeyPress discouraged ?

2010-08-11 Thread Christian Goudreau
I had made a masked text box and since rolling up to GWT 2.1 MS2 backspace return 0 or nothing, enter too. I'll go with KeyDown instead, but I was wondering why that have been changed ? -- Christian Goudreau www.arcbees.com -- You received this message because you are subscribed to the Google

Re: Is KeyPress discouraged ?

2010-08-11 Thread cokol
keypressed is actually an event for writeable characters, like 'a' or 'b' so if you push CTRL button, the keypress is not fired in browser, so google just made is convenient On 11 Aug., 17:22, Christian Goudreau goudreau.christ...@gmail.com wrote: I had made a masked text box and since rolling

Re: Is KeyPress discouraged ?

2010-08-11 Thread Christian Goudreau
Yeah I saw the issue, should have read that before asking my question here. I wanted to avoid changing anything, well I'll do it in a more proper way then :D Cheers and thanks, On Wed, Aug 11, 2010 at 11:47 AM, cokol eplisc...@googlemail.com wrote: keypressed is actually an event for