Countdown slider

In my opinion, the author of the post wants a uniform, smooth movement, so the clock speed must be as low as possible. The slider method won't really work here because the slider accuracy is low, as @Juan_Antonio mentioned. The slider will not have smooth motion, only jumps as seen in the @Anke app.
It's a good idea to use an arrangement or any other component and play with its width. Here is an example of a progress bar made with an arrange. Its accuracy is not based on the timing of the clock component, which we know is not very accurate. I achieved fluency and accuracy by reading the current state of the milis counter.

progres.aia (3.6 KB)

1 Like

The same applies to your approach, with the small difference that here the jumps are shorter (at 30 min there are 5 sec intervals / jumps). However, smooth is different.

Yes, in the case of 30 minutes and the slider, the movement of the strip can be seen every 18 seconds, in the case of using a different component, every 4.5 seconds.
The vertical width of my screen is about 400px. If the app was operated horizontally, the smoothness of the bar would increase, while in the case of the slider it is always 100 points.

1 Like

Good evening, all.

Firstly, my apologies because I am delaying my answers but, believe me, today was not an easy day for me.

Now, I'm going to do it one by one and, furthermore, I want to say all of you thanks for your advises because I have learned with you in a few hours more than I have learned in a month by myself.

All the best for all of you,

JoaquĆ­n.-

Fixed! Thanks, Juan Antonio.

Well, I tested your code and I can say that it works so fine, but it is not exactly what I'm looking for. However, I will keep it in mind for the future.

Thank you very much again. Recibe un muy cordial saludo,

JoaquĆ­n.-

Hellow, Anke.

I've tested your example right now, today was a hard day for me.

Well, it's fantastic, it's almost what I want, the jumps have regularity and they are almost invisibles when time is increased.

I want to thank you for the time you have spent with me and tell you that I have learned a lot from the examples you have given me.

Best regards,

JoaquĆ­n.-

Right! This is exactly what I want, but with the slider functionality too. Sadly, I saw that's not possible, what a shame!

Thank you very much for your time, I've learned very interesting things with you.

Best regards,

JoaquĆ­n.-

Good idea!

Thank you so much. Best regards,

JoaquĆ­n.-

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.