473,395 Members | 1,623 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 1852
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Maka Sili | last post by:
Using ProgressBar.Enabled = false does not dim the progress bar. There must be a way. I hope somebody could guide me. Thanks.
2
by: Tim Marshall | last post by:
Hi, why would the spell check menu item in A2003 be dimmed? I'm using the menu item in a short cut on a number of unbound text boxes. The text boxes are enabled and unlocked. It works on some...
17
by: Arun Kumar | last post by:
What is wrong with this code. All i am trying to test is 3 progressbar and one button. On buttonclick i create 3 threads and each thread calls a method which in turn updates the progressbar and it...
8
by: needin4mation | last post by:
Please consider: foreach (ListViewItem item in listViewFiles.Items) { // Display the ProgressBar control. pBar1.Visible = true; // Set Minimum to 1 to represent the first file being copied....
7
by: needin4mation | last post by:
I know there is no On Error or the like in C#. But I am not sure how to make this code work when the file it tries to copy is in use, not there, etc. Here is what I have tried and when the...
6
by: Bart Schelkens | last post by:
Hi, I have the following question. My website is divided in 3 frames. In my topFrame I display a list (<UL></UL>) The items in that list are tabs to navigate through my site. When the user...
1
by: nobody | last post by:
Hi I'm currently developing a Windows application. At the start of the application I load several tables into datatables in a dataset. I also use a progressbar to show the user how much percent...
5
by: Keith Rebello | last post by:
I have a couple of progress bars that indicate the progress of a math-intensive application. They are working well. The only problem is that the progress indicator is gray in color. Is it...
3
by: al jones | last post by:
I have the following, extracted from my code (sorry, the files 'line' of code wraps across the first five lines of the copy) and pbFiles is (obviously?) the progressbar. Dim foundFiles As...
1
by: Simon | last post by:
A very simple question that is very hard to google..(so please be so kind to answer it, if you have the answer.) How can I reach an iframe, located in another frame. Situation: frameset of three...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.