[Gambas-user] Count the real time spent editing the data
Martin
mbelmonte at belmotek.net
Wed Mar 10 23:25:14 CET 2021
I'm interested to accumulate the amount of minutes for some "project"
If the user press some key bTime change to true then when each minute
the timer event check if there are changes (bTime = true) then increase
1 minute then bTime = False
Public Sub Form_KeyPress()
bTime = True
End
Public Sub ActivityLogger_Timer()
Inc iOpen
If bTime Then
Inc iTime
File.Save(exd &/ "time.log", CStr(iTime))
bTime = False
Endif
ActivitiIndication()
End
Regards
El 10/3/21 a las 22:37, Martin escribió:
> Is there any way to know if a gambas program had keyboard activity
> from when it was opened until it was closed?
> It is to count the real time spent editing the data.
>
> Regards.
>
> Martín.
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
More information about the User
mailing list