06-06-2007 09:11 AM
06-06-2007 10:03 AM
06-06-2007 11:00 AM
06-07-2007 10:08 AM
For a more precise timer you can use the asynchronous timer library, asynctmr.fp in toolslib\toolbox folder.
While the Timer control placed on the UIR can be affected from mouse events like drag&drop the async timer is immune to most of such problems and it will give you a smoother chronometer count. In this case you specify a function for the timer to call at each interval and this function has similar parameters like time passed so you can still use Roberto's piece of code.
You can have a look at the sample projects for detail.
06-08-2007 04:42 AM
06-08-2007 05:40 AM
06-08-2007 07:39 AM