AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawKeyboard.Released Property

Returns True if the key code given was released this frame, then returns False whilst the key is up.

Syntax
Pascal
class property Released [const Key: Byte]: Boolean;
Parameters 
Description 
Key 
the key code to check. 

This only applies to platforms with a full sized keyboard such as PC and Mac, otherwise all keys will return False. You can check if a full sized keyboard exists by checking KeyboardType. Key codes are in the range 0 to 255. You can also use KEY_* constants.

Copyright (c) 2012. All rights reserved.