[event] KeyPress([in] short keyascii)
This event is called when a user presses and releases a key corresponding to an ASCII character.
The event will be called with one arguments:
keyascii: the ASCII character
viewer.enableKeyEvents = True ... Private Sub viewer_KeyDown(keycode As Integer, shift As Integer) _ Handles viewer.KeyDown ' process a keycode here (vbKeyLeft, etc.) End Sub Private Sub viewer_KeyUp(keycode As Integer, shift As Integer) _ Handles viewer.KeyUp ' same keycode as KeyDown End Sub Private Sub viewer_KeyPress(keyascii As Integer) _ Handles viewer.KeyPress ' process an ASCII character End Sub