Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: How To (Forms, Reports, and more) > Forms > Technical Documents > Capturing Keyboard Events

Virtual-Key Codes (Standard)

Scroll Prev Top Next More

The following table shows the constant values and descriptions for the virtual-key codes. The codes are listed in numeric order.

 

Value

Description

8

Backspace key

9

Tab key

13

Enter key (Return)

16

Shift key

17

Ctrl key

18

Alt key

19

Pause key

20

Caps Lock key

27

Esc key

32

Space bar

33

Page Up key (Prior)

34

Page Down key (Next)

35

End key

36

Home key

37

Left Arrow key

38

Up Arrow key

39

Right Arrow key

40

Down Arrow key

44

Print Screen key (Snap Shot)

45

Insert key

46

Delete key

48

0 key

49

1 key

50

2 key

51

3 key

52

4 key

53

5 key

54

6 key

55

7 key

56

8 key

57

9 key

65

A key

66

B key

67

C key

68

D key

69

E key

70

F key

71

G key

72

H key

73

I key

74

J key

75

K key

76

L key

77

M key

78

N key

79

O key

80

P key

81

Q key

82

R key

83

S key

84

T key

85

U key

86

V key

87

W key

88

X key

89

Y key

90

Z key

91

Left Windows key (Natural keyboard)

92

Right Windows key (Natural keyboard)

93

Applications key (Natural keyboard)

95

Computer Sleep key

96

Numeric keypad 0 key

97

Numeric keypad 1 key

98

Numeric keypad 2 key

99

Numeric keypad 3 key

100

Numeric keypad 4 key

101

Numeric keypad 5 key

102

Numeric keypad 6 key

103

Numeric keypad 7 key

104

Numeric keypad 8 key

105

Numeric keypad 9 key

106

Multiply key

107

Add key

108

Separator key

109

Subtract key

110

Decimal key

111

Divide key

112

F1 key

113

F2 key

114

F3 key

115

F4 key

116

F5 key

117

F6 key

118

F7 key

119

F8 key

120

F9 key

121

F10 key

122

F11 key

123

F12 key

144

Num Lock key

145

Scroll Lock key

160

Left Shift key

161

Right Shift key

162

Left Ctrl key

163

Right Ctrl key

164

Left Menu key (Alt)

165

Right Menu key (Alt)

186

';:' key

187

'+' key

188

',' key

189

'-' key

190

'.' key

191

'/?' key

192

'`~' key

219

'[{' key

220

'\|' key

221

']}' key

222

'single-quote/double-quote' key