Results 1 to 11 of 11

Thread: Context menu help [resolved]

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Posts
    262

    Resolved 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:
    1. Private Sub MenuItem8_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem8.Click
    2.         MsgBox("you have just right clicked " & ClickedTextBox)
    3.     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.
    Last edited by Oliver1; Feb 28th, 2006 at 09:50 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width