A small but niggling situation which I cannot resolve is why the Progress Bar Style 'Blocks' simply does not work. The 'Continuous' and 'Marquee' setting are fine, but whatever I try, the 'Blocks' style simply appears the same as 'Continuous'. Any ideas?
Are the ForeColor and BackColor different? Other than that I'm not sure. Are you using the basic .Net Progress Bar or are using some user created/ActiveX control?
-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
I'm using the standard Progress Bar. It's nothing to do with the colors, as I see the 'progress' quite clearly. It's just that it in the 'Continuous' style, rather than the 'Blocks' style as set.
I'm not 100% (I haven't checked it in a while), but I think that has to do with HOW the progress bar is displayed. With 'Continuous' the progress bar slowly fills up, allowing partial blocks. With 'Blocks' the progress bar fills up in chunks - one block at a time. If I'm right anyway.
I am developing on Windows7. However, I have now just discovered that although I only get 'Continuous', if deployed on an XP machine using XP Themes then all I get is 'Blocks'. Even more confusing!
Now, I have discovered more...
If I turn OFF "Enable XP Visual Styles" in the Project|Application properties, then the 'Blocks' appear when using ProgressBarStyle.Block, and the bar is smooth when using ProgressBarStyle.Continuous. However, the ProgressBarStyle.Marquee setting then does not work! So it seems that I can either have Blocks & Continuous OR Marquee and Continous, but not all three??? Surely this is not right.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.