|
-
Dec 7th, 1999, 02:34 AM
#1
Thread Starter
Junior Member
I'm using a Popupmenu to bring up the menu on the right click of a mouse. The menu is created in one form and poped up in another form. Now how do I recognise the click event of the popupmenu(its menu is in another form).
-
Dec 7th, 1999, 02:48 AM
#2
Why not put the same menu in both forms? It's not visible anyhow, and the menu_Click event in each menu can always be made to execute the same subroutine in a code module.
------------------
Marty
-
Dec 7th, 1999, 02:52 AM
#3
Thread Starter
Junior Member
I am using the same form(a user control is placed on it) in many places. I can't duplicate the menu in all the places. Is there any other solution???????????????
-
Dec 7th, 1999, 03:26 AM
#4
_______
Let's say Form2 has a menu called mnuHelpMeOut and it has a submenu of mnuMessage and in mnuMessage click event you have a MsgBox "Here is how it works"
On Form1 you have a command button and in it's click event you put this.
Form2.Popup mnuMessage
Hope it helps,
Wayne
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
|