Topic: APLX Help : System Classes : Callbacks : onKeyPress
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

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 | APL Home ]