PDA

View Full Version : rounded progress bar


nazbopenS
04-18-2011, 02:55 PM
Attached is a progress bar class and some examples including one I think looks pretty cool. Despite it being a trivial endeavor for an openlaszlo user to create a progress bar (there is code out there), I thought it might save some people time and I think its pretty flexible. Also, it might be helpful for someone who has just started learning about openlaszlo.

Features (mainly inherited from roundrect):

Rounded corners
Gradient can be applied to both progress portion and outside portion.


Examples exhibit how one can add cool things to the bar, how one can animate the bar, and how to display progress dependent dynamic text.

Note: To get this working you might have to copy roundrectA.lzx into /lps/components/incubator (this is where my file is located).

Lastly, I dont know if this is the best place to post little things like this progress bar one makes with openlaszlo. Please tell if there is a better place. I think it is important to post things like this because it saves time not to have to make every single little component/piece of an application from scratch.