i need to override the base CheckedListBox behaviour.
it is possible to check and uncheck a CheckedListBox without any code attached to it.
i need to disable this behaviour so that i can implement custom code.
any ideas?
thanks.
.
for example:
if (ListenCheckedListBox.GetItemChecked(0))
{
ListenCheckedListBox.SetItemChecked(0, false);
}
if (!ListenCheckedListBox.GetItemChecked(0))
{
ListenCheckedListBox.SetItemChecked(0, true);
}
does not work because the controls default behaviour already does this anyway.
hopefully you can understand my issue now.
ok i figured it out. i was seeing it wrong. i just handle for the checked state instead of defining it twice. once by the control second by me.
yes i was being silly!