Just curious.. How would I make say.. A command button show a menu box.. When clicked?
Example... Right click on something on the form and a menu shows up for it...
I had it before.. Must have lost it.. >.<
Please help! :)
Thanks!
Printable View
Just curious.. How would I make say.. A command button show a menu box.. When clicked?
Example... Right click on something on the form and a menu shows up for it...
I had it before.. Must have lost it.. >.<
Please help! :)
Thanks!
popupmenu menu
Code:Private Sub Command1_Click()
PopupMenu mnuMenu
End Sub
for the right button click :
Code:Private Sub Command1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
PopUpMenu menuName
End If
End Sub
That simple... >.<
I feel like a total idiot now.
Hehe
Thanks again! :)