Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LASTKEY( ) Function
Collapse the table of content
Expand the table of content

LASTKEY( ) Function

Returns an integer corresponding to the last key pressed.



The values returned by LASTKEY( ) are the same as the values returned by INKEY( ). See INKEY( ) for a list of keys and their return values.

LASTKEY( ) is updated when you move between controls.

Community Additions

© 2015 Microsoft