Hi,
When i Right Click on a TextBox I like To do Someting but somthing else came up (Cut, Paste, Delete...) how can i Delete this Menu???
Regards
Printable View
Hi,
When i Right Click on a TextBox I like To do Someting but somthing else came up (Cut, Paste, Delete...) how can i Delete this Menu???
Regards
'you can't delete it but you can bypass it
'and replace it with your own
'ie..hook it then unhook it when your app is done
'disable the textbox poput menu
'put this code in the mousedown event of the textbox
'replace the text popup with on of yours
'
Private Sub mnuFileMenu_Click()
Text1.Enabled = True
End Sub
Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
Text1.Enabled = False
PopupMenu mnuFileMenu 'replacing the text popup with my
Text1.Enabled = True
End If
End Sub
Hi,
HeSaidJoe - Thanks