This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
Function Key Codes
|
Function key | KeyCode |
F1 | -122 |
F2 | -120 |
F3 | -99 |
F4 | -118 |
F5 | -96 |
F6 | -97 |
F7 | -98 |
F8 | -100 |
F9 | -101 |
F10 | -109 |
F11 | -103 |
F12 | -111 |
F13 | -105 |
F14 | -107 |
F15 | -113 |
Reminder
The KeyCode system variable is to be used in a project method installed using ON EVENT CALL.
In addition to the function keys, the following table lists the values returned in KeyCode when you press one of the common keys, such as Return or Enter.
Key | Code |
Enter | 3 |
Return | 13 |
Backspace | 8 |
Tab | 9 |
Escape | 27 |
Del | 127 |
Help | 5 |
Home | 1 |
End | 4 |
Page Up | 11 |
Page Down | 12 |
Left Arrow | 28 |
Right Arrow | 29 |
Up Arrow | 30 |
Down Arrow | 31 |
Product: 4D
Theme: Character Codes
4D Language Reference ( 4D v20 R7)