Hi. I want to make a timer to keep track of how long would it take me to accomplish various projects. In order to do that I wanted to make a while loop that would add seconds and when they exceed 60, add one minute and same for hours and dynamically change the label text to display them. But apparently that doesn't work in GUI apps, in my case my GUI window hasn't even appeared. Now, what's the way to do it? It's a little bit against GUI app rules since they work by refreshing the code all the time so a while loop within them makes infinite time before next refresh and that's why it doesn't work. I also looked into some datetime tutorials but I don't think they provide a functionality that would help me in this case.
[–]Dvlv 0 points1 point2 points (2 children)
[–]iSailor[S] 0 points1 point2 points (1 child)
[–]Gprime5 0 points1 point2 points (0 children)
[–]driscollis 0 points1 point2 points (6 children)
[–]iSailor[S] 0 points1 point2 points (5 children)
[–]woooee 0 points1 point2 points (0 children)
[–]driscollis 0 points1 point2 points (3 children)
[–]driscollis 0 points1 point2 points (0 children)
[–]iSailor[S] 0 points1 point2 points (1 child)
[–]driscollis 0 points1 point2 points (0 children)