Posted: 16th Dec 2002 21:42
Have you any idea how can I handle mouseclick, because the mouseclick() functioun handle the mouse is beeing pressed, not mouseclick (= mousedown+mouseup) ?????????
Posted: 16th Dec 2002 22:08
I think you do something like this to trap the mouse click.

+ Code Snippet
Sync On:Sync Rate 0
Do
If MouseClick()=1
   Print "Click"
   Repeat :Until MouseClick()=0
EndIf
Sync
Loop


ToXic.
Posted: 16th Dec 2002 23:16
Here's another option

+ Code Snippet
Sync On:Sync Rate 0
Do
If MouseClick()=1 and clickdelay=0
   clickdelay=1
   text 0,0,"Click"
EndIf
if mouseclick()=0 then clickdelay=0
Sync
Loop