westingenieria Active Member Licensed User Longtime User Jun 21, 2014 #1 Help please !!! I'm working with clocks library, but i can't pause the chronometer. Anyone have an example?
Help please !!! I'm working with clocks library, but i can't pause the chronometer. Anyone have an example?
LucaMs Expert Licensed User Longtime User Jun 21, 2014 #2 ??? There is an example in the thread. Does not work? Or you need tenths, hundredths and thousandths? You could use this one Last edited: Jun 21, 2014 Upvote 0
??? There is an example in the thread. Does not work? Or you need tenths, hundredths and thousandths? You could use this one
L Linostar Member Licensed User Longtime User Jun 21, 2014 #3 westingenieria said: Help please !!! I'm working with clocks library, but i can't pause the chronometer. Anyone have an example? Click to expand... It is as simple as calling the "Stop" sub. For example: Code: Dim chrono As Chronometer chrono.Initialize("chrono") '.... 'Put this in the sub responsible to start the chronometer chrono.Start '..... 'Put this in the sub responsible to stop the chronometer chrono.Stop If that's not what you need, please be more explicit or post your code. Upvote 0
westingenieria said: Help please !!! I'm working with clocks library, but i can't pause the chronometer. Anyone have an example? Click to expand... It is as simple as calling the "Stop" sub. For example: Code: Dim chrono As Chronometer chrono.Initialize("chrono") '.... 'Put this in the sub responsible to start the chronometer chrono.Start '..... 'Put this in the sub responsible to stop the chronometer chrono.Stop If that's not what you need, please be more explicit or post your code.
westingenieria Active Member Licensed User Longtime User Jun 23, 2014 #4 Linostar said: It is as simple as calling the "Stop" sub. For example: Code: Dim chrono As Chronometer chrono.Initialize("chrono") '.... 'Put this in the sub responsible to start the chronometer chrono.Start '..... 'Put this in the sub responsible to stop the chronometer chrono.Stop If that's not what you need, please be more explicit or post your code. Click to expand... Thanks, but this code resets the Chronometer to zero, and i need to continue it Upvote 0
Linostar said: It is as simple as calling the "Stop" sub. For example: Code: Dim chrono As Chronometer chrono.Initialize("chrono") '.... 'Put this in the sub responsible to start the chronometer chrono.Start '..... 'Put this in the sub responsible to stop the chronometer chrono.Stop If that's not what you need, please be more explicit or post your code. Click to expand... Thanks, but this code resets the Chronometer to zero, and i need to continue it
westingenieria Active Member Licensed User Longtime User Jun 23, 2014 #5 LucaMs said: ??? There is an example in the thread. Does not work? Or you need tenths, hundredths and thousandths? You could use this one Click to expand... Thanks, but this code also resets the chronometer... Upvote 0
LucaMs said: ??? There is an example in the thread. Does not work? Or you need tenths, hundredths and thousandths? You could use this one Click to expand... Thanks, but this code also resets the chronometer...
westingenieria Active Member Licensed User Longtime User Jun 23, 2014 #6 I try with http://www.b4x.com/android/forum/threads/clocks-library.6783/ .... help please !!! Upvote 0
LucaMs Expert Licensed User Longtime User Jun 23, 2014 #7 That example works well, but it does not consider fractions of second. To you it does not work? [I read. The reset, ok, now look at it.] Upvote 0
That example works well, but it does not consider fractions of second. To you it does not work? [I read. The reset, ok, now look at it.]
LucaMs Expert Licensed User Longtime User Jun 23, 2014 #8 Try this one. Attachments lm Chrono.zip lm Chrono.zip 11.9 KB · Views: 489 Upvote 0
westingenieria Active Member Licensed User Longtime User Jun 23, 2014 #9 LucaMs said: Try this one. Click to expand... Thanks Luca, but I DON'T need reset, i need PAUSE and continue... Regards Upvote 0
LucaMs said: Try this one. Click to expand... Thanks Luca, but I DON'T need reset, i need PAUSE and continue... Regards
LucaMs Expert Licensed User Longtime User Jun 23, 2014 #10 Sorry, but you should explain better: the example does both, reset and pause+continue. It does not the coffee, but i think it is enough Upvote 0
Sorry, but you should explain better: the example does both, reset and pause+continue. It does not the coffee, but i think it is enough
westingenieria Active Member Licensed User Longtime User Jun 23, 2014 #11 LucaMs said: Sorry, but you should explain better: the example does both, reset and pause+continue. It does not the coffee, but i think it is enough Click to expand... sorry for my bad English. I am using your code, but to get back to 23:59:59 and 00:00:00 I need to continue to 24, 25, 26 ... hours. you understand me? Upvote 0
LucaMs said: Sorry, but you should explain better: the example does both, reset and pause+continue. It does not the coffee, but i think it is enough Click to expand... sorry for my bad English. I am using your code, but to get back to 23:59:59 and 00:00:00 I need to continue to 24, 25, 26 ... hours. you understand me?
westingenieria Active Member Licensed User Longtime User Jun 23, 2014 #12 I succeed !!! thank you very much Luca Upvote 0
LucaMs Expert Licensed User Longtime User Jun 23, 2014 #13 westingenieria said: sorry for my bad English. I am using your code, but to get back to 23:59:59 and 00:00:00 I need to continue to 24, 25, 26 ... hours. you understand me? Click to expand... Yes, now I understand Upvote 0
westingenieria said: sorry for my bad English. I am using your code, but to get back to 23:59:59 and 00:00:00 I need to continue to 24, 25, 26 ... hours. you understand me? Click to expand... Yes, now I understand