On Jun 29, 3:20 pm, Thomas Broyer <[email protected]> wrote:
> Note that "((TextBox) event.getSource()).cancelKey();" is exactly
> equivalent to "event.preventDefault();"
>
> ..and I believe the "// TODO(ECC) must be tested." really means that
> it *needs* to be tested (i.e. I'm almost sure that it isn't enough;
> I'm almost sure you also have to deal with KeyDown and/or KeyUp).

How could I write my application to recover nicely when the user
pastes
alphabetic characters into the text box?  If the user selects Ctrl (or
Cmd)-V,
or right-clicks and pastes. the browser will not invoke the keyboard
handler.
I found out that IE has an onpaste event, but that isn't universal.

Eric

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to