The on drop response should recheck the type and execute the appropriate application code to carry out the effect of the drag operation. Use the dragdata built-in function in this response to determine which object was being dragged. Use the built-in functions xcoord and ycoord to determine the location of the mouse pointer when the drop occurred.
response to PrinterIcon_IR
on drop
if (dragtype = "Customer") then
copy dragdata to CustomerID_IV
call PrintCustomerReport( CustomerID_IV )
end if