By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,446 Members | 3,120 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,446 IT Pros & Developers. It's quick & easy.

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

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

Thanks.
Nov 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Maka,

Enabled property controls whether a control can respond to user interaction
or not. ProgressBar control does not respond to any user interaction in any
way. I guess you want to change the control color scheme so it looks like
disabled. I think you can do that by setting ForColor and BackColor
properties to the desired color value.

Hope this helps.

--
Victor Urnyshev [MSFT]
This post is "AS IS" with no warranties, and confers no rights.
--------------------
|From: "Maka Sili" <ma******@hotmail.com>
|Subject: C# question: how do I make the ProgressBar dimmed/gray
|Date: Wed, 25 Aug 2004 10:27:19 -0400
|Lines: 6
|X-Priority: 3
|X-MSMail-Priority: Normal
|X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
|X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
|Message-ID: <#t**************@tk2msftngp13.phx.gbl>
|Newsgroups: microsoft.public.dotnet.general
|NNTP-Posting-Host: 12.125.133.206
|Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!tk2msftngp13
..phx.gbl
|Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.general:143586
|X-Tomcat-NG: microsoft.public.dotnet.general
|
|Using ProgressBar.Enabled = false does not dim the progress bar.
|There must be a way. I hope somebody could guide me.
|
|Thanks.
|
|
|

Nov 22 '05 #2

P: n/a
Hi Maka,

Enabled property controls whether a control can respond to user interaction
or not. ProgressBar control does not respond to any user interaction in any
way. I guess you want to change the control color scheme so it looks like
disabled. I think you can do that by setting ForColor and BackColor
properties to the desired color value.

Hope this helps.

--
Victor Urnyshev [MSFT]
This post is "AS IS" with no warranties, and confers no rights.
--------------------
|From: "Maka Sili" <ma******@hotmail.com>
|Subject: C# question: how do I make the ProgressBar dimmed/gray
|Date: Wed, 25 Aug 2004 10:27:19 -0400
|Lines: 6
|X-Priority: 3
|X-MSMail-Priority: Normal
|X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
|X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
|Message-ID: <#t**************@tk2msftngp13.phx.gbl>
|Newsgroups: microsoft.public.dotnet.general
|NNTP-Posting-Host: 12.125.133.206
|Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!tk2msftngp13
..phx.gbl
|Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.general:143586
|X-Tomcat-NG: microsoft.public.dotnet.general
|
|Using ProgressBar.Enabled = false does not dim the progress bar.
|There must be a way. I hope somebody could guide me.
|
|Thanks.
|
|
|

Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.