Click or drag to resize

KeyEvent Properties

X#

The KeyEvent type exposes the following members.

Properties
  NameDescription
Public propertyASCIIChar
A numeric value representing the normal ASCII code for the key that caused this KeyEvent.
Public propertyHandle
The pointer to the window where the event occurred
(Inherited from Event.)
Public propertyKeyCode
A constant, indicating the code for the key that was pressed:
Public propertyMessage
A dword representing the Windows API message associated with the given event.
(Inherited from Event.)
Public propertyRepeatCount
A numeric value determining whether a user depressed a key repeatedly or held it down for an extended period of time.
Public propertySystem
A logical value determining whether the Alt key was pressed at the same time as another key (TRUE if yes, FALSE if no).
Public propertyWindow
An object indicating the window or control in which the event occurred. This is helpful, for example, for distinguishing between similar menu events coming from the same context menu attached to different controls.
(Inherited from Event.)
Top
See Also