KeyPressed function
Check event queue for key press.
Declaration
function KeyPressed: BooleanDescription
KeyPressed checks the keyboard event queue to see whether a key
event is present, and returns
True if a key event is available.
This function simply calls
PollKeyEvent and checks for a valid
result.Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
