Body
- Fixed an error where the punch wasn't being recorded because of an internal IntToStr error based on the Location not being a valid location. Added a default of '900' in this case, and more error checking.
- Added a \"clear keyboard queue events\" step to the ResetTimeClock and also the ProcessPunch routines to hopefully catch the cause of the above - people entering their checklist so fast that the clock is reset before the punch is fully recorded. I don't think the keyboard repeat function is enabled for TimeClocks configured to run as TimeClocks, so they're just tapping 0 indiscriminately, which should still work and not get tripped up like this.
- Added a block to prevent entering worker numbers starting with 0. No clue why this wasn't done 20 years ago?!
- Minor change to keep flushing the keyboard queue when entering the Password screen. Seems some keyboard input was being carried over to the next screen. Will add more KeyboardFlush calls if it turns out this is helpful elsewhere.
TimeClock v3.0.11.711 Statistics
Started: 2019-07-26 11:09:32
Finished: 2019-07-26 11:13:26
Elapsed: 00:03:54
File Size: 2,852,352
Source Lines: 1,002,132
UPX Time: 00:00:05
ZIP Time: 00:00:15
FTP Time: 00:03:34
ALL Time: 00:03:54