473,387 Members | 1,891 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,387 software developers and data experts.

Disabling individual items in the CheckedListBox?

Is it possible to gray out individual items in the CheckedListBox? I have an
option at the top of the list that simply says 'All', and when the user
clicks that item I want the rest of the items in the box to become disabled.

Thanks!!


Nov 21 '05 #1
2 2141
Brian,

I think that when I had your problem, I would create an array of checkboxes
inside a groupbox.

I hope that is a solution for you

Cor
Nov 21 '05 #2
"Brian Mitchell" <Ma********@hotmail.com> schrieb:
Is it possible to gray out individual items in the CheckedListBox? I have
an option at the top of the list that simply says 'All', and when the user
clicks that item I want the rest of the items in the box to become
disabled.


That's not supported out of the box. However, you can reset an item's
checked state when it is changed.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Phil Galey | last post by:
In VB.NET, is there a way to make it so the user can select items in a CheckedListBox, but is NOT able to check them? Even if I set Locked = True, the user is still able to both select and check...
0
by: Priya | last post by:
I want to disable individual items in a listbox,listview in C#.NEt
2
by: kranthi | last post by:
I want to disable individual items in a listbox or listview
4
by: Ram | last post by:
Dear Helpers, I assigened values to checkedlistbox control in the following way cList.DataSource=oDs.Tables.DefaultView; cList.DisplayMember=oDs.Tables.Columns.ToString();...
1
by: mphanke | last post by:
Hi, what is the way to go for adding colored items to the checkedlistbox control?? I can't find any solution eventhough I'm browsing the web for hours now... I actually planned to overwrite...
2
by: Corey Scheich | last post by:
Coming from mostly VBA to VB.NET so bare with me. I am creating a form with a CheckedListBox. I want to populate the listbox as the user types in a value. I tried to use ...
0
by: Marcin Podle¶ny | last post by:
Hi, I need some help with my CheckedListBox. I'd like to set some of CheckedListBox items to read only. I would also like to set these items to look different than other items (i.e. they could be...
8
by: ameen.abdullah | last post by:
Hi Guys, I have a checked list box on my form.. the purpose of this checkbox is to indicate that the option is enabled or disabled.. I just want to ask if there is a way to disable these check...
0
by: diego | last post by:
Greetings from the Philippines! I have a checkedlistbox contained in a tabpage of a tab control. i can programmatically check the items. i can see the items get checked when the tab page has...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.