Just set bar style back to block from marque to stop it. Then set value to
0 or 100 to either clear bar or fill it.
--
William Stacey [MVP]
"randy1200" <ra*******@newsgroups.nospamwrote in message
news:84**********************************@microsof t.com...
| I'm REALLY looking for how to start and stop a progress bar with the style
| set to marque or continuous mode. I'm asking because I can't find this
| information in the msdn. A quick description, or a pointer to an msdn page
| that contains this information would be really helpful.
|
| Thanks,
| --
| Randy
|
|
| "Michael Nemtsev" wrote:
|
| Hello randy1200,
| >
| Use cyclic-type progress bars, only indicating that work is in progress
| >
| rI've been sucessful in using the Progress bar when I can calculate
| rthe percent complete. Now I want to use it when I have no way to
| rcalculate the amount of time to completion. Basically, I want to do
| rthe following:
| r>
| rprogressBar1.Style = ProgressBarStyle.Continuous;
| rprogressBar1.Go();
| rDoSomething();
| r>
| rprogressBar1.Stop();
| rprogressBar1.Style = ProgressBarStyle.Blocks;
| rWhat's the right answer for Go() and Stop()?
| r>
| rThanks,
| r>
| ---
| WBR,
| Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
| >
| "At times one remains faithful to a cause only because its opponents do
not
| cease to be insipid." (c) Friedrich Nietzsche
| >
| >
| >