I have two checkedlistboxs and I want to check an item in one checklistbox which will check the corresponding item in the ohter checklistbox. If I uncheck that item it will do the same in the other checkedlistbox.
Assuming you are using VB to achieve this, what you could do is match the index values of each checkbox item, use a control array for each checkbox catagory, for example ChkBoxA(0) = "German"
ChkBoxA(1) = "Dead"
ChkBoxA(2) = "Mouse"
ChkBoxA(3) = "Cheese"ChkBoxB(0) = "Shepard"
ChkBoxB(1) = "Cat"
ChkBoxB(2) = "Tasey"
ChkBoxB(3) = "Burger"
so now what you can do is, under the click event of ChkBoxA you can say, if chkBoxA(3) = checked then ChkBoxB(3) = checked.Hope you understand what i mean, if not then i can provide some code for the above,
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |