Assigns a delegate to the keyPress event.
final public void addOnKeyPress ( KeyPressEventHandler h )
h
The KeyPressEventHandler delegate to be notified when the event occurs.
Not all elements support all events exposed in DhElement.
See Also removeOnKeyPress