widget.newProgressView() Early comments/bugs/requests

Hi Ivo,

At this time, ProgressView isn’t designed for counting down, only up. You can probably add this feature yourself (in the open-sourced widget code), but I’d suggest you just build a custom life/time countdown bar. There are various tutorials out there if you need them, or you can just design it yourself without too much difficulty.

Regards,

Brent

Hi Brent,

Thanks for your explanation.

I will build my own countdown bar then.

However it would be nice if the widget was extended in a way that it could be used as a countdown bar.

Thx again,

Ivo

Hi Ivo,

I apologize, I actually cited this incorrectly. ProgressView, in fact, can be used to “count down” using the following code:

[lua]

object:setProgress( object:getProgress() - amountToReduce )

[/lua]

Obviously, “object” is your ProgressView widget, and all you need to do is get the current value (using “:getProgress”), subtract a value, and the set the progress again using “:setProgress()”.

Take care,

Brent

Hi Brent - this does not seem to work.  I also have noted you can’t seem to reduce the progress.  Any other ideas/work arounds?

Hi Greg,

There seems to be a glitch here. I just filed a bug report with the engineers and they’ll investigate soon…

Brent

Hi Brent - this does not seem to work.  I also have noted you can’t seem to reduce the progress.  Any other ideas/work arounds?

Hi Greg,

There seems to be a glitch here. I just filed a bug report with the engineers and they’ll investigate soon…

Brent