Click to See Complete Forum and Search --> : How to remove default popup menu for textbox like controls ...
Hi...Hi to all of u..
How to remove default popup menu for textbox like controls ...
when we right click on textbox ..
a default pop menu is come up i had trie a lot but i didnt get it ...
please tell me how to do that..
and how to show our own popup menu to..
if possible i want answer for both the que.
thanks,
Bhavin Sanghvi
QWERTY
Nov 12th, 1999, 01:59 PM
First question: Check this out (http://www.vb-world.net/tips/tip131.html).
Second question: (To show PopUpMenu)
1. Create Menu using Menu Editor (call it let's say mnuMain); set it's visible property to False
2. Use PopUpMenu Function
Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
PopupMenu mnuMain
End If
End Sub
Hope this will help
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
[This message has been edited by QWERTY (edited 11-13-1999).]
I had tried tis it works but firsat it show the default menu and then mine...
and some time even i dont want to display any menu.. but i want to do some other work...
Thanks Again for positive responce..
Bhavin
------------------
Regards from BK
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.