[event] KeyUp([in] short keycode, [in] short shift)
This event is called when a user releases a key.
The event will be called with two arguments:
keycode: the key code (vbKeyLeft, etc.)
shift: the shift/control/alt bit mask, which contains zero or more bit flags from
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