help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TranslateKeyEvent

Translate raw event to ascii key event

Declaration

Source position: keybrdh.inc line 157

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505