By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,083 Members | 1,957 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,083 IT Pros & Developers. It's quick & easy.

lisview select

P: n/a
Hello,

How do i get the text of a checked item in a checkedlistview

Thanks.
Maarten
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"Maarten" <gu******@hotmail.com> schrieb:
How do i get the text of a checked item in a checkedlistview


CheckedListBox or ListView?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2

P: n/a
sry this was a mixup,
it's a listview with the checkbox property set on true

kind regards
Maarten

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uM**************@TK2MSFTNGP12.phx.gbl...
"Maarten" <gu******@hotmail.com> schrieb:
How do i get the text of a checked item in a checkedlistview


CheckedListBox or ListView?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

P: n/a
"Maarten" <gu******@hotmail.com> schrieb:
it's a listview with the checkbox property set on true


\\\
For Each lvi As ListViewItem In Me.ListView1.CheckedItems
MsgBox(lvi.Text)
Next lvi
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #4

P: n/a
thank you it works fine

kind regards,
Maarten

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OH***************@TK2MSFTNGP10.phx.gbl...
"Maarten" <gu******@hotmail.com> schrieb:
it's a listview with the checkbox property set on true


\\\
For Each lvi As ListViewItem In Me.ListView1.CheckedItems
MsgBox(lvi.Text)
Next lvi
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.