Language Reference Guide : A. System Constants and Keywords : System Constants : Key State Settings
 
Share this page                  
Key State Settings
Constant Value
Description
Numeric
Equivalent
KB_NONE
Specifies that no key is pressed
0
KB_SHIFT
Specifies that the SHIFT key is down
1
KB_CONTROL
Specifies that the CTRL key is down
2
KB_ALT
Specifies that the ALT key is down
4
KB_SHIFT_LEFT
Specifies that the left SHIFT key is down
16
KB_SHIFT_RIGHT
Specifies that the RIGHT shift key is down
32
KB_CONTROL_LEFT
Specifies that the left CTRL key is down
64
KB_CONTROL_RIGHT
Specifies that the right CTRL key is down
128
KB_ALT_LEFT
Specifies that the left ALT key is down
256
KB_ALT_RIGHT
Specifies that the right ALT key is down
512
KB_ESCAPE
Specifies that the ESC key is down
1024
KB_FUNCTION
Specifies that a FUNCTION key is down
2048
KB_LOGO
Specifies that the LOGO key is down
4096