AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawKeyboard.LastKey Property

Returns the key code of the last key pressed.

Syntax
Pascal
class property LastKey: Byte;

This only applies to platforms with a full sized keyboard such as PC and Mac. You can check if a full sized keyboard exists by checking KeyboardType. This property continues to return the last key pressed even when the key has been released.

Copyright (c) 2012. All rights reserved.