I have 3.2.20 running but the CheckedListbox doesn’t clear with ClearSelected() an not with chkListbox.Update()..
I now have this as a workaround:
for (int x = 0; x < mRoles.Count; x++)
ListBox.ClearSelected() is the same as ListBox.SelectedIndex = -1. It removes the selected item, not the checked ones. The CheckedListBox can have 1 selected item and multiple checked items.
To uncheck all items you need to call SetItemChecked(), as you already did. Consider that an app may override the state of an item processing OnItemCheck and changing the state.
Please login first to submit.