Hi all,
I am trying to use the checklistbox in my program. I can add, remove an item. But how to retrieve an item later on ? Can someone show me an example code ? thx.
Printable View
Hi all,
I am trying to use the checklistbox in my program. I can add, remove an item. But how to retrieve an item later on ? Can someone show me an example code ? thx.
This example does something with all boxes that are checked - does this answer the question?
VB Code:
Dim intX As Int32 lblTaskDesc.Text = "" For Each intX In CheckedListBox1.CheckedIndices lblTaskDesc.Text &= CheckedListBox1.Items.Item(intX).ToString Next
Exactly what i need. Thank you so much.