Set button as a timer
Hi!
Some months ago I attended a webinar in which Birger showed how to set a button as a timer. Unfortunately I lost the screenshot of the code, plus I have very poor coding skills. May I have help? (beer offered in exchange!). Thanks! G
4 replies
-
I guess you were looking for this - my take on a stop watch:
https://www.dropbox.com/s/ihrql3wlaxx7fsb/31_Start-Stop%20%281%29.ninox?dl=0(I'll take you on 'bout that beer :-) Birger
-
Thanks for your help, Birger. That works perfectly for my needs. Still got a question after having used it for a while anyway. My laptop heats up very quickly when I'm on the table that contains the timer, which doesn't happen on tables without the timer, as if it keeps tracking time regardless of the "stop" command (in other words the "stop" seems acting like a "pause", in fact clicking it again results in an increase of time rather than starting from zero). Is that the case?
Notice that I made some changes in you code as follows.
if Start then Stop := now() else Start := now() end;
Time := if Start and Stop and Start < Stop then
time(Stop - Start)
end -
hello. please can i get this too
-
Akay,
I“ve made an example here :
https://www.dropbox.com/s/2ieg76gmn9et0mh/Timer.ninox?dl=0
Steven
Content aside
- 4 yrs agoLast active
- 4Replies
- 2067Views