[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'keyboard' (#rtl)

GetKeyEventUniCode

Return the unicode key event.

Declaration

Source position: keybrdh.inc line 170

function GetKeyEventUniCode(

  KeyEvent: TKeyEvent

):Word;

Description

GetKeyEventUniCode returns the unicode part of the given KeyEvent if it contains a translated unicode character.

Errors

None.

See also

GetKeyEventShiftState

  

Return the current state of the shift keys.

GetKeyEventFlags

  

Extract the flags from a key event.

GetKeyEventCode

  

Translate function key part of a key event code.

GetKeyEventChar

  

Get the character key part of a key event.

GetKeyEvent

  

Get the next raw key event, wait if needed.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.