Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listview

Status
Not open for further replies.

JohnStep

Programmer
Apr 19, 2000
190
US
Using a ListView control what Property designates which member has been checked or not?

Thanks in advanced

J Stephens
 
It's the check property of the ListItem object as in:

msgbox ListView1.SelectedItem.Checked
or
msgbox LIstView1.ListItems(1).Checked

-Max
 
For i = 1 To ListView1.ListItems.Count
If ListView1.ListItems(i).Checked = true Then
'do something
End If
Next i

[gray]Experience is something you don't get until just after you need it.[/gray]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top