Window.onKeyUp

Function/Meaning

The key was released

Type
WindowclassEvent
Syntax
onKeyUp(key, shift)
Arguments
key

The value of the virtual key code for the released key.

shift

This is the state of shift keys and mouse buttons that were pressed at the same time when the keys were released.
It is a combination of the following values by bit OR.

  • ssAlt : The ALT key was pressed
  • ssShift : The SHIFT key was pressed
  • ssCtrl : CTRL key was pressed
  • ssLeft : The left mouse button was pressed
  • ssMiddle : The middle mouse button was pressed
  • ssRight : The right mouse button was pressed
Return value
None (void)
Explanation

Occurs when the key is released.