CheckedListBox have almost two identical method for checking an item

T

Tony Johansson

Hello!

There is the method SetItemChecked that I can use for checking or unchecking
an item in a CheckedListBox control or
I can use the SetItemCheckState to check or uncheck an item in a
CheckedListBox control.

So why use two methods for checking or unchecking. I would say it would be
enough
to use SetItemCheckState

//Tony
 
M

mick

Tony Johansson said:
Hello!

There is the method SetItemChecked that I can use for checking or
unchecking an item in a CheckedListBox control or
I can use the SetItemCheckState to check or uncheck an item in a
CheckedListBox control.

So why use two methods for checking or unchecking. I would say it would be
enough
to use SetItemCheckState

SetItemCheckState can set the state to Intermediate.

mick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top