Jump to content
Sign in to follow this  


Recommended Posts

Statistics as far as I could see just measure time while SMS was running in certain project. I believe it would be more useful to measure actual work time, while SMS was active (focused) and there were activity (keyboard, mouse).

GetLastInputInfo might be a good way to catch it, for example if it returns something above 5mins, stop the timer.

Share this post

Link to post
Share on other sites

Having a look at this now. This is pretty simple to handle by using TApplication.OnActivate and OnDeactivate. There's some more work to do also:

  • Designing Time ticks all the time if the form designer is visible. It should react to changes just like Editing Time does.
  • Build duration is not updated.
  • The Statistics form could use a Clear-button.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this