Assuming your click event sub is defined properly, as below, this should
work;
Private Sub mSelPrice_Click(ByVal sender As System.Object, e As
System.EventArgs) Handles mSelPrice_Click
Dim vClickedOnListview As String
vClickedOnListview = DirectCast(sender, Listview).Name
Messagebox.Show(vClickedOnListview)
End Sub
Obviously, you can use any property of the listview once you cast it, not
just the name.
____________________________
The Grim Reaper
"Darin" <darin_nospam@nospamever> wrote in message
news:(E-Mail Removed)...
> I have 2 listview's that have the same context menu tied to them. WHen
> the user opens the context menu and clicks on one of the menu items, how
> (within the handles mSelPrice_click) method can I tell which listview
> they are on.
>
> THanks.
>
> Darin
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!