Hi
I have a time Display on a form, that updates every second
There is a separate process that calls the main form to update the timer.
once a second

The code for this process is:



While (<>MainProc>0)  //<>MainProc is the process number of the Main Form
If (<>StartPlay=True)  //<>StartPlay is set true if a play button is
pressed on the Main Form

<>ProcMess:="600"
CALL PROCESS(<>MainProc)  //Updates the Timer on the Main Form

Repeat


Until ((Milliseconds-<>StartTime)>=1000)
<>StartTime:=Milliseconds
//BEEP
End if

End while


On MAC, this works fine
On Windows the timer loop stops if the left mouse button is pressed and
does not continue until released. This proven by the BEEP command inserted
in the loop.
Why should this be so on PC but not on windows, and how can I fix it.

Thanks
-pm
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to