JCL Help:GetKeyState
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: GetKeyState Function
Search in JCL Help
Search in all projects
Summary
Returns the state of a key.
Pascal
function GetKeyState(const VirtualKey: Cardinal): Boolean;
Parameters
Parameters | Description |
const VirtualKey: Cardinal | Any virtual key code, for example VK_NUMLOCK. See Windows.pas for more constants. |
Return Value
True, if the key is pressed or toggled. False otherwise.
Description
Returns the state of the virtual key passed. You can use any of the VK_* constants defined in Windows.pas.
See Also
GetNumLockKeyState GetScrollLockKeyState GetCapsLockKeyState
About
Unit
Donator
Peter Friese
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page