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

www.microapl.co.uk

The 'onDragDrop' callback


Event number: 34
Valid for: Any visible control

The onDragDrop callback is invoked for the target control when a successful drag-and-drop operation has been completed, and the user releases the mouse over the target control. (For this to happen, the sourceformats property of the source must be compatible with the targetformats property of the target).

Under Windows, it will typically be preceded by an onDragEnter and several onDragOver events. The source control will be notified by an onDragEnd event.

The dragsource property will contain the name of the control being dragged.

The event-specific parameters in ⎕EV are (in index origin 1):

    ⎕EV[6]   The 'tie' property value of the source control being dragged

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