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

www.microapl.co.uk

The 'onKeyUp' callback


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

A Key Up event is generated when the user releases a key whilst the object has the input focus. The event-specific parameters in ⎕EV are (in index origin 1):

        ⎕EV[6]         Raw ASCII code for this key
        ⎕EV[7]         APL's translated code for this key
        ⎕EV[8]         Scan code (ie key number)
        ⎕EV[9]         Modifiers:
                       (0=unshifted, 1=shifted, 2=alt/option,
                       4=control, 8=command, and sums thereof)

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