Page 1 of 1

display an infinite progress bar ?

Posted: Mon Jun 03, 2013 10:51 am
by Nicolas2121
Hi,

I would like to create an infinite progress bar during the execution of a script.

How can I do this ?

I try this method, but it's doesn't works:

Code: Select all

progressBar1.Style = ProgressBarStyle.Marquee;
progressBar1.MarqueeAnimationSpeed = 30;
Anyone have an idea ?

Re: display an infinite progress bar ?

Posted: Mon Jun 03, 2013 12:04 pm
by mark.monroe
The ProgressBarStyle.Marquee is not supported on Windows CE units. You could use the tag associated with your progress bar to cycle the bar. For example, add 1 to the tag until the progress bar is completed, then set the tag back to 1. You could use a timer to do this, or just call a function that does this for you periodically as your code executes.