display an infinite progress bar ?

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
Nicolas2121
Posts: 19
Joined: Fri Apr 12, 2013 11:00 am

display an infinite progress bar ?

Post 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 ?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: display an infinite progress bar ?

Post 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.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply