4D v16.3

Function Key Codes

Home

 
4D v16.3
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
Backspace8
Tab9
Escape27
Del127
Help5
Home1
End4
Page Up11
Page Down12
Left Arrow28
Right Arrow29
Up Arrow30
Down Arrow31



See also 

ON EVENT CALL
System Variables

 
PROPERTIES 

Product: 4D
Theme: Character Codes

 
HISTORY 

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)