Problems with actor events
I've been having problems getting the events to work, like dragdrop, etc. Laurant made a short program to test it and got the same problems, here is his program:
#splashScreen:False Actor "magic", X=100, Y=100, Image$="magic.png", OnMouse$="CLICK" do Wait key Loop Procedure CLICK[EVENT$] If EVENT$="mouseclick" then Print "mouseclick" If EVENT$="mousedown" then Print "mousedown" If EVENT$="mouseup" then Print "mouseup" If EVENT$="mousemove" then Print "mousemove" If EVENT$="dragdrop" then Print "dragdrop" //Actor INDEX$, X=DRAGX, Y=DRAGY End Proc
dragdrop is always active as soon as the mouse moves over (without holding a button)
mousedown works when holding a button
mouseup isn't working
mouseclick is triggered when you release the button (I'm not sure how this would be different to mouseup)
mousemove isn't working. I think dragdrop is being triggered instead of this one.