Topic: APLX Help : Help on APL language : System Functions & Variables : ⎕EV Event record
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

⎕EV Event Record


(Not implemented in APLX Server Editions)

Each callback property you can set corresponds to an APLX event. Just before your callback is called, the niladic system function ⎕EV is set to contain the event record, which gives further information about the event which is being reported. ⎕EV is an integer vector of length 9. The first five elements are common to all events, and the remaining four depend on the event type.

The elements of ⎕EV which are always supplied irrespective of the event type are (in index origin 1):

        ⎕EV[1]         Object tie number (the same as the tie property of the
                       object)
        ⎕EV[2]         Event type number
        ⎕EV[3]         System clock time of event in milliseconds
        ⎕EV[4]         Mouse vertical position (in pixels) when event occurred
        ⎕EV[5]         Mouse horizontal position (in pixels) when event occurred

The remaining elements depend on the specific event type.


Topic: APLX Help : Help on APL language : System Functions & Variables : ⎕EV Event record
[ Previous | Next | Contents | Index | APL Home ]