Thanks,but it dosn't uncheck the item ,,it only removes the focus,that's it.
"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> "Reza" <(E-Mail Removed)> schrieb:
> > checkedListBox1.ClearSelected(),dosn't clear my selections in my
> > checkedboxlist.
> > How can I clear an specific item based on its value ,name
> > or anything else?
>
>
> You can use the checkedlistbox's 'FindString' or 'FindStringExact methods
to
> get the index of a specific item, then you can use 'SetSelected(Index,
> False)' to uncheck the item.
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>
>
|