ok, maybe an old Q, but I'm in the situation right now:
I want a proper eventx/y readout when moving my mouse over the canvas.. and because of that timer it doesn't work!
; run in debugmode ! window=CreateWindow("",0,0,400,400) canvas=CreateCanvas(0,0,200,200,window) timer=CreateTimer(20) Repeat WaitEvent() If EventID()=$803 End If EventID()=$4001 blah() Forever End Function blah() DebugLog EventX() End Function
I want a proper eventx/y readout when moving my mouse over the canvas.. and because of that timer it doesn't work!