|
-
Nov 7th, 2000, 07:40 PM
#1
Thread Starter
Lively Member
Is there a right click menu component in vb that can be dragged on to the form, if not how could this effect be created thanks a lot
thanks to the guys yesterday......
-
Nov 7th, 2000, 07:44 PM
#2
do you mean how to create a popup menu?
If so, the code is simple:
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Nov 7th, 2000, 07:47 PM
#3
Thread Starter
Lively Member
A RIGHT CLICK MENU.....
no i mean when you right click on the desktop a menu opens up besides the cursor, how can this be done in vb
ask me if you need any more clarification...
-
Nov 7th, 2000, 07:52 PM
#4
Frenzied Member
Uh...mykg4orce, that's what a popup menu is
A popup menu IS a "right-click" menu. To create one, use the menu editor to create your menu. Set the visiblity to false. Code the menu like you would a regular menu. Then put this code in the form's code window to display the menu on a right click:
Code:
Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
Me.PopupMenu RightClickMenuName
End If
End Sub
-
Nov 7th, 2000, 07:56 PM
#5
Thread Starter
Lively 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
|