View Single Post
  #2  
Old 21-10-2010, 10:32 PM
AndrewJ
Watch me post!

AndrewJ is offline
 
Join Date: Mar 2006
Location: Melbourne
Posts: 1,905
Gday Bojan

If you want a synchronous function, just use sleep().
This works in milliseconds and is synched to the CPU clock automagically.
If you want an asynchronous method, use a TTimer.
You can program this in millisecs as well, and then just set it running as reqd
and create an event for when it stops, or you can test if its running and prevent a specific call going out till it stops.

Andrew
Reply With Quote