Context menu help [resolved]
Okay I have a couple (well 50 or so) of text boxes on my form which all share the same context menu.
Is there any way to find out which text box the user has right clicked on.
VB Code:
Private Sub MenuItem8_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem8.Click
MsgBox("you have just right clicked " & ClickedTextBox)
End Sub
To clarify what I'm trying to do, each text box contains a name of a person, when you right click on that person I want to be able to send that person a message, but to do this I need to know what text box has been clicked.
Re: Context menu help [resolved]
glad i could help... i was just getting ready to post that to you too ;)