|
-
Jun 9th, 2000, 12:55 PM
#1
Thread Starter
Addicted Member
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
-
Jun 9th, 2000, 06:53 PM
#2
_______
right click disable
'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
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Jun 10th, 2000, 11:11 AM
#3
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|