mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2024-09-08 00:40:14 +00:00
4
__UI_KeyHit
FellippeHeitor edited this page 2016-12-19 12:57:39 -02:00
__UI_KeyHit is a global variable of type LONG INTEGER that holds the scan code of the last key pressed by the user. Positive values mean a key was pressed, negative values indicate a key was released.
This variable can be accessed anywhere, but it's usually manipulated in KeyPress event handlers, especially for Textbox controls, as it can be used to change the key presses that actually get sent to the control.