|
-
Nov 12th, 1999, 02:46 PM
#1
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
-
Nov 12th, 1999, 02:59 PM
#2
Fanatic Member
First question: Check this out.
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
Code:
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).]
-
Nov 12th, 1999, 08:48 PM
#3
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
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
|