Contents - Index - Previous - Next


OnKeyUp event



Applies to
TProfGrid component

Declaration
property OnKeyUp: TKeyEvent;

Description

Occurs when the user releases a key that has been pressed.

Use the OnKeyUp event handler to provide special processing that occurs when a key is released. The OnKeyUp handler can respond to all keyboard keys, including function keys and keys combined with the Shift, Alt, and Ctrl keys. 

The Key parameter is the key on the keyboard. For non-alphanumeric keys, you must use WinAPI virtual key codes to determine the key pressed.

The Shift parameter indicates whether the Shift, Alt, or Ctrl keys are combined with the keystroke.