471,108 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,108 software developers and data experts.

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

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
2 1754
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
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.

Similar topics

2 posts views Thread by Tim Marshall | last post: by
17 posts views Thread by Arun Kumar | last post: by
8 posts views Thread by needin4mation | last post: by
7 posts views Thread by needin4mation | last post: by
6 posts views Thread by Bart Schelkens | last post: by
1 post views Thread by nobody | last post: by
5 posts views Thread by Keith Rebello | last post: by
3 posts views Thread by al jones | last post: by
1 post views Thread by Simon | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.