Skip to content

KeyUp Event

Description

Occurs when a key on the keyboard has been released (after being pressed) and the GridControl has focus.

Syntax

Public Event KeyUp( _
    ByRef KeyCode As Integer, _
    ByVal Shift As Integer _
)

Parameters

  • KeyCode: ASCII code for the key that was released.
  • Shift: Specifies whether the Shift, Ctrl, or ALT keys were pressed.

Remarks

Occurs after a key has been pressed and then released.

Any combination of the Shift, Alt, and Ctrl keys can be used. The table below shows the possible values for the Shift parameter:

Shift Parameter Value Bit Mask
Shift 1 001
Ctrl 2 010
Shift + Ctrl 3 011
Alt 4 100
Alt + Shift 5 101
Alt + Ctrl 6 110
Shift + Alt + Ctrl 7 111

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.