on-char in canvas<%>

Called when the canvas receives a keyboard event. See also Mouse and Keyboard Events.