wKeyEvent

These events are generated by wWindow when the user pressed the keyboard.

Superclass:wEvent
Seealso:wWindow
Events:
wKeyEventDescription
wEvent_CharA focused Window receives a char.
wEvent_KeyDownA key was pressed.
wEvent_KeyUpA key was released.
wEvent_SysKeyDownPresses the F10 key or holds down the ALT key and then presses another key.
wEvent_SysKeyUpReleases a key that was pressed while the ALT key was held down.

Consts

wEvent_Char = 0x00000102
wEvent_KeyDown = 0x00000100
wEvent_KeyUp = 0x00000101
wEvent_SysKeyDown = 0x00000104
wEvent_SysKeyUp = 0x00000105

Methods

method getKeyCode(self: wKeyEvent): int {...}{.inline, raises: [], tags: [].}
Returns the key code of the key that generated this event.