listview 问题
里面的listview,怎么样获取当前选中的行号.
Dim a,i As Integer
For i = 0 To Me.ListView1.Items.Count - 1
If Me.ListView1.Items(i).Selected = True Then
a = i + 1
MsgBox("你选中了第" + CStr(a) + "行")
End If
Next