T
Trapulo
I've some problem checking items in a checkedlistbox by code:
For jj As Int32 = 0 To cbTimeOptions.Items.Count - 1
' cut: logic to set maycheck variable
cbTimeOptions.SetItemChecked(jj, maycheck )
Next
I've verified, dubbubg code, that after this for..next, cbTimeOptions has
two items checked. I've also verified, handling itemCheck event, that no
other code is changing this option after the for.
But my control hasn't item checked. Where is the error? How can I make other
useful tests?
thanks
For jj As Int32 = 0 To cbTimeOptions.Items.Count - 1
' cut: logic to set maycheck variable
cbTimeOptions.SetItemChecked(jj, maycheck )
Next
I've verified, dubbubg code, that after this for..next, cbTimeOptions has
two items checked. I've also verified, handling itemCheck event, that no
other code is changing this option after the for.
But my control hasn't item checked. Where is the error? How can I make other
useful tests?
thanks