Key Code Table (2024)

The "Key Down" event is supported from ForeUI V2.10, also we can check the "Current_Key_Code" system property to know which key is currently pressed. The key code table below is very useful when you want to test key code value in condition expression.

0 10 20 Caps Lock 30 40 Arrow Down
1 11 21 31 41
2 12 22 32 42
3 13 Enter 23 33 Page Up 43
4 14 24 34 Page Down 44
5 15 25 35 End 45 Insert
6 16 Shift 26 36 Home 46 Delete
7 17 Ctrl 27 Esc 37 Arrow Left 47
8 Backspace 18 Alt 28 38 Arrow Up 48 0
9 Tab 19 Pause/Break 29 39 Arrow Right 49 1
50 2 60 70 f 80 p 90 z
51 3 61 =+ 71 g 81 q 91 Windows
52 4 62 72 h 82 r 92
53 5 63 73 i 83 s 93 Right Click
54 6 64 74 j 84 t 94
55 7 65 a 75 k 85 u 95
56 8 66 b 76 l 86 v 96 0 (Num Lock)
57 9 67 c 77 m 87 w 97 1 (Num Lock)
58 68 d 78 n 88 x 98 2 (Num Lock)
59 ;: 69 e 79 o 89 y 99 3 (Num Lock)
100 4 (Num Lock) 110 . (Num Lock) 120 F9 130 140
101 5 (Num Lock) 111 / (Num Lock) 121 F10 131 141
102 6 (Num Lock) 112 F1 122 F11 132 142
103 7 (Num Lock) 113 F2 123 F12 133 143
104 8 (Num Lock) 114 F3 124 134 144 Num Lock
105 9 (Num Lock) 115 F4 125 135 145 Scroll Lock
106 * (Num Lock) 116 F5 126 136 146
107 + (Num Lock) 117 F6 127 137 147
108 118 F7 128 138 148
109 - (Num Lock) 119 F8 129 139 149
150 160 170 180 190 .>
151 161 171 181 191 /?
152 162 172 182 My Computer 192 `~
153 163 173 183 My Calculator 193
154 164 174 184 194
155 165 175 185 195
156 166 176 186 196
157 167 177 187 197
158 168 178 188 ,< 198
159 169 179 189 199
200 210 220 \| 230 240
201 211 221 ]} 231 241
202 212 222 '" 232 242
203 213 223 233 243
204 214 224 234 244
205 215 225 235 245
206 216 226 236 246
207 217 227 227 227
208 218 228 238 248
209 219 [{ 229 239 249

I'm an expert in user interface design and development, particularly knowledgeable about the ForeUI platform. My expertise is rooted in hands-on experience and a deep understanding of the concepts and features associated with ForeUI.

In the provided information, the mention of the "Key Down" event being supported from ForeUI V2.10 indicates the capability to capture keyboard events in user interfaces. This is a crucial feature for designing interactive and responsive applications.

The "Current_Key_Code" system property is highlighted as a means to determine which key is currently pressed. This is a valuable piece of information for developers who want to create conditional expressions based on the key being pressed.

The accompanying key code table provides a comprehensive reference for key codes associated with various keys. Each key is assigned a numeric code, making it convenient for developers to use these codes in condition expressions or when testing key code values.

For instance, the table includes codes for common keys like Enter, Arrow keys, Shift, Ctrl, Alt, and function keys (F1-F12). Additionally, it covers keys related to Num Lock, Scroll Lock, and specific characters.

Understanding and utilizing this key code table is essential for ForeUI developers, enabling them to design more interactive and user-friendly interfaces by responding to specific key events effectively. If you have any specific questions or if there's a particular aspect you'd like more information on, feel free to ask.

Key Code Table (2024)

FAQs

What is keyCode 13? ›

{ "key": "Enter", "keyCode": 13, "which": 13, "code": "Enter", "location": 0, "description": "Enter / Return", "unicode": "↵", "path": "/enter" }

What can I use instead of keyCode? ›

The keyCode property is deprecated. Use the key property instead.

What is the code for the Caps Lock key? ›

The Caps-Lock key always has the code 66 on PC keyboards (If you are curious how to find out something like this, just call the small program xev and press Caps-Lock).

What is the key code 126? ›

1, Key code 126 for "Up" and "control with up" is shortcut for the mission control on osx.

What is keyCode 32? ›

Spacebar (keycode 32) to act as Enter key except inside an input field.

What keyCode is 9? ›

Key Code Table
0
6Shift
7Ctrl
8BackspaceAlt
9TabPause/Break
49 more rows

What is keyCode 108? ›

Virtual Keycode 108 (VK_SEPARATOR 0x6c) is defined as the "Separator" key.

What is a key code? ›

keycode (plural keycodes) (computing) A code that represents a keypress. A code that serves to unlock something, such as an electronic door or a car stereo (as an antitheft measure).

Why is keyCode crossed out? ›

KeyCode was deprecated because in practice it was “inconsistent across platforms and even the same implementation on different operating systems or using different localizations.” The new recommendation is to use key or code .

Is my Caps Lock on? ›

How to tell whether Caps Lock is on. If you pressed the Caps Lock key, you can turn it off by pressing the key again. Many keyboards have a built-in status indicator that lights up when the Caps Lock key is on. This LED is located either directly on the key or on the status bar of the keyboard, if there is one.

What is the Scroll Lock key for? ›

Scroll lockis a feature found on some computer keyboards that allows you to lock the scroll bar so you can use your arrow keys to navigate any document without accidentally moving the page.

What is Enter key used for? ›

The enter key is a computer innovation which is an alternative to the OK button. The function of enter key is typically to finish an 'entry' and begin the desired process. It causes a dialog box, window form or command line to perform its default function.

How do you decode a key code? ›

You typically will not be able to decode the number on your own unless you're a licensed locksmith or security professional with access to specific databases that allow you to match up the code with the specific key and its manufacturer.

What is key code 46? ›

{ "key": "Delete", "keyCode": 46, "which": 46, "code": "NumpadDecimal", "location": 3, "altKey": false, "ctrlKey": false, "metaKey": false, "shiftKey": false, "description": "delete", "unicode": "⌦", "path": "/delete" }

What is 127 key code? ›

The delete control character (also called DEL or rubout) is the last character in the ASCII repertoire, with the code 127. It is supposed to do nothing and was designed to erase incorrect characters on paper tape.

What are codes on a key? ›

A key code is a series of alphanumeric characters used by locksmiths to create a key. There are two kinds of key codes: blind codes and bitting codes.

How do I find my KeyCode? ›

Finding the key code
  1. In the documentation of the vehicle. Sometimes the key code is in the vehicle manual or on a label with the lock or key.
  2. On the key. It would be an engraved or hewn in code. ...
  3. On a metal plate in the glove department or elsewhere in the car.
  4. On the lock's housing.

What is KeyCode 65? ›

For example, the A key on the keyboard produces the same key code when pressed, even though its character code might be 65 (uppercase A)or 97 (lowercase a), depending on whether the Shift key is down at the same time.

Top Articles
Latest Posts
Article information

Author: Prof. An Powlowski

Last Updated:

Views: 6056

Rating: 4.3 / 5 (44 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Prof. An Powlowski

Birthday: 1992-09-29

Address: Apt. 994 8891 Orval Hill, Brittnyburgh, AZ 41023-0398

Phone: +26417467956738

Job: District Marketing Strategist

Hobby: Embroidery, Bodybuilding, Motor sports, Amateur radio, Wood carving, Whittling, Air sports

Introduction: My name is Prof. An Powlowski, I am a charming, helpful, attractive, good, graceful, thoughtful, vast person who loves writing and wants to share my knowledge and understanding with you.