Hi,
I don't seem to be able to change the ProgressBar Style property in Visual Studio 2008. No matter what value I set it to, the ProgressBar is always displayed as "Continuous".
Does anyone have the same experience? Or am I doing something wrong here?
TIA,
Axel Dahmen
Chris Jobson - 21 Jun 2008 18:40 GMT
> I don't seem to be able to change the ProgressBar Style property in Visual
> Studio 2008. No matter what value I set it to, the ProgressBar is > always
> displayed as "Continuous".
>
> Does anyone have the same experience? Or am I doing something wrong here?
Actually I find that Continuous is the one value that _doesn't_ work; both
Blocks and Marquee do. However, the documentaion for the ProgressbarStyle
enumeration syas "The Continuous style is valid only when visual styles are
not enabled.", and if you comment out the line
"Application.EnableVisualStyles();" from Program.cs then Continuous also
works (but Marquee doesn't).
Chris Jobson