Getting the text of checked items in the checklist component

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

There is a checklist component in my form, where there are serveral items for
the user to check.
How can I detect which items have been checked and return their names using
a Button click instance?
Thanks.
 
Xero said:
There is a checklist component in my form, where there are serveral items
for
the user to check.
How can I detect which items have been checked and return their names
using
a Button click instance?

\\\
For Each Item As Object In Me.CheckedListBox1.CheckedItems
MsgBox(Item.ToString())
Next Item
///
 
I see.
Thanks very much.

Xero
Herfried K. Wagner said:
\\\
For Each Item As Object In Me.CheckedListBox1.CheckedItems
MsgBox(Item.ToString())
Next Item
///
 

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

Similar Threads


Back
Top