|
-
Apr 15th, 2003, 02:42 AM
#1
Thread Starter
Member
disable - default popup for entire form
Hai,
I have a problem with me . In a form I want to remove (disable) the right click popup menu .
i.e. I have a form with no. of text boxes, combo boxes, buttons, option buttons, and a MSFlexgrid Control. I want to disable the default popup menu . I want to apply my own popup menu for some controls, and for rest of controls i dont' want to enable default popup menu also from right click .
Thanx in advance.
Last edited by satyarao; Apr 15th, 2003 at 02:46 AM.
satyarao
-
Apr 15th, 2003, 05:31 AM
#2
Hyperactive Member
Use the right click method of each object
-
Apr 15th, 2003, 05:37 AM
#3
Hyperactive Member
here you are
Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
MsgBox ("Left Button")
Else
MsgBox ("Right Button") ' vbrightbutton
End If
End Sub
What you could do is get them all to call the same function and pass the button......
Hope this helps.....
john
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
|