## The `onKeyPress' callback

Event number: 30
Generated for: Any control which can receive the input focus

A Key Press event is generated when the user presses a key which produces a character, whilst the object has the input focus. (It is generated after the corresponding Key Down event). The event-specific parameters in ŒEV are (in index origin 1):

            ŒEV[6]         ASCII code for this key and modifier keys
            ŒEV[7]         APL's translated code for this key

Topic: APLX Help : System Classes : Callbacks : onKeyPress

[ Previous | Next | Contents | Index ]