4D v13.4

Function Key Codes

Home

 
4D v13.4
Function Key Codes

Function Key Codes  


 

 

4D returns values for Function keys in the KeyCode system variable, which is used within project methods installed by the ON EVENT CALL command. These project methods are used to catch events.

The values for Function keys are not based on ASCII Codes. They are:

Function keyKeyCode
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.

KeyCode
Enter3
Return13
Backspace or Delete8
Tab9
Escape or Clear27
Del127
Help5
Home1
End4
Page Up11
Page Down12
Left Arrow28
Right Arrow29
Up Arrow30
Down Arrow31

 
PROPERTIES 

Product: 4D
Theme: Character Codes

 
SEE ALSO 

ON EVENT CALL
System Variables