[Overview][Constants][Types][Procedures and functions] | Reference for unit 'keyboard' (#rtl) |
Get the character key part of a key event.
Source position: keybrdh.inc line 166
function GetKeyEventChar( |
KeyEvent: TKeyEvent |
):Char; |
GetKeyEventChar returns the charcode part of the given KeyEvent, if it contains a translated character key keycode. The charcode is simply the ascii code of the character key that was pressed.
It returns the null character if the key was not a character key, but e.g. a function key.
For an example, see GetKeyEvent
None.
|
Return the unicode key event. |
|
|
Return the current state of the shift keys. |
|
|
Extract the flags from a key event. |
|
|
Translate function key part of a key event code. |
|
|
Get the next raw key event, wait if needed. |
No notes exist for this page yet.