C# question: how do I make the ProgressBar dimmed/gray

  • Thread starter Thread starter Maka Sili
  • Start date Start date
M

Maka Sili

Using ProgressBar.Enabled = false does not dim the progress bar.
There must be a way. I hope somebody could guide me.

Thanks.
 
There is no way to do that with the ProgressBar from Windows.Forms
namespace, unless you make your own progress bar. I alway use ProgressBar
this way: set its Visible to false in design mode. Only set it to true at
runtime when I want to show progress of a process. Once the process is done,
set ProgressBar.Visible to false.
 
* "Maka Sili said:
Using ProgressBar.Enabled = false does not dim the progress bar.
There must be a way. I hope somebody could guide me.

I have /never/ seen a disabled progressbar. You will have to draw the
progressbar yourself.
 
Back
Top