Click or drag to resize

KeyEvent.KeyCode Property

X#
A constant, indicating the code for the key that was pressed:

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL PROPERTY KeyCode AS DWORD GET 
Request Example View Source

Property Value

Type: DWord
A constant, indicating the code for the key that was pressed:
Remarks
One of the following constants, indicating the code for the key that was pressed:
ConstantDescription
KEYALTAlt key
KEYARROWDOWNDown arrow key
KEYARROWLEFTLeft arrow key
KEYARROWRIGHTRight arrow key
KEYARROWUPUp arrow key
KEYBACKSPACEBackspace key
KEYCANCELCancel key
KEYCAPSLOCKCapitals Lock key
KEYCONTROLControl key
KEYDELETEDelete key
KEYENDEnd key
KEYENTEREnter key
KEYESCAPEEscape key
KEYF1...KEYF16Function keys 1-16
KEYHOMEHome key
KEYINSERTInsert key
KEYNUMLOCKNumeric Lock key
KEYPAGEDOWNPgDn key
KEYPAGEUPPgUp key
KEYPAUSEPause key
KEYPRINTPrint key
KEYRETURNReturn key
KEYSHIFTShift key
KEYSPACESpacebar
KEYTABTab key
Tip Tip
KeyEvent:KeyCode provides access to the underlying keyboard hardware. Use this property if the KeyEvent:ASCIIChar access method returns NIL.
See Also