|
-
Nov 1st, 1999, 01:52 AM
#1
Thread Starter
Member
I have a listview set up in the report style. I wnat the user to be able to select numerouse lines and then click a button which will modify the lines selected. What I don't understand is how to identify what is selected. If there are more than one item.
Any help would be appreciated thanks
Jennifer
-
Nov 1st, 1999, 02:40 AM
#2
You need to use the Selected Property to determine which Items are Selected, eg.
Code:
Private Sub Command1_Click()
Dim I As Integer
With ListView1.ListItems
For I = 1 To .Count
If .Item(I).Selected Then
'Item is Selected,
'Perform Whatever to this Item Here.
End If
Next
End With
End Sub
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|