0
Answer

enable/disable ListBox items

Ask a question
mugsy_69

mugsy_69

19y
3.8k
1
Is there a way to enable or disable specific indices within a ListBox or CheckedListBox based on the state of a seperate index? This will be in a windows application. e.g. string [] things= {"thing1", "thing2"}; listBox1.Items.AddRange(things); //Is there a way to have thing2 disabled until thing1 is selected? Thanks in advance! JW