Occurs when the user releases a key.
expression . KeyUp( KeyCode , Shift )
expression A variable that represents an OlkCommandButton object.
Name | Required/Optional | Data Type | Description |
---|---|---|---|
KeyCode | Required | Long | The numerical value of the key pressed. |
Shift | Required | Integer | A bitwise-OR mask of constants in the OlShiftState enumeration that specifies whether the SHIFT, CTRL, or ALT keys have been pressed. |
The state of the modifier keys ( SHIFT, CTRL, or ALT) that are pressed during the KeyUp event is accessible through the Shift parameter.