|
-
Apr 22nd, 2004, 03:41 PM
#1
Thread Starter
Fanatic Member
Last edited by TheVader; Apr 26th, 2004 at 02:55 PM.
Author for Visual Basic Web Magazine
-
Apr 23rd, 2004, 07:39 AM
#2
Hyperactive Member
Wont
work?
The other things are optional...
MSDN:
PopupMenu Method Example
This example displays a pop-up menu at the cursor location when the user clicks the right mouse button over a form. To try this example, create a form that includes a Menu control named mnuFile (mnuFile must have at least one submenu). Copy the code into the Declarations section of the form, and press F5.
VB Code:
Private Sub Form_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
PopupMenu mnuFile
End If
End Sub
See?
-
Apr 26th, 2004, 02:54 PM
#3
Thread Starter
Fanatic 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
|