Unit 'keyboard' Package
[Overview][Constants][Types][Procedures and functions][Index] [#rtl]

TranslateKeyEvent

Translate raw event to ascii key event.

Declaration

Source position: keybrdh.inc line 252

function TranslateKeyEvent(

  KeyEvent: TKeyEvent

):TKeyEvent;

Description

TranslateKeyEvent performs ASCII translation of the KeyEvent. It translates a physical key to a function key if the key is a function key, and translates the physical key to the ordinal of the ascii character if there is an equivalent character key.

For an example, see GetKeyEvent

Errors

None.

See also

TranslateKeyEventUniCode

  

Translate raw event to UNICode key event.


Documentation generated on: Dec 24 2024