Checklist Box ?

There are different ways, but a simple way would be to loop through the control collection of the parent container that holds these checkboxes and uncheck each one.
C#:
foreach(Control c in container.Controls)
{
   if(c is CheckBox)
     ((Checkbox)c).Checked = false;
}

EDIT: O, and if you meant a listbox with checkboxes then see this thread:
http://www.xtremedotnettalk.com/showthread.php?s=&threadid=70810
 
Last edited:
Back
Top