VB Code:
  1. ' Create your own menu in the VB menu editor, and then call it on
  2. ' the 'MouseDown' event of your textbox
  3.  
  4. Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  5.     If Button = vbRightButton Then
  6.         Text1.Enabled = False
  7.         DoEvents
  8.         Text1.Enabled = True
  9.         PopupMenu mnuYourMenu
  10.     End If
  11. End Sub