By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,934 Members | 1,449 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,934 IT Pros & Developers. It's quick & easy.

No Popup event for my menu items

P: n/a
I use to get popup events when I checked out the menu coding.
That was a while ago. Something I did in the interim must have suppressed
those events because I just noticed I don't get them any more.
What could I do that will cause menu item Popup events not to be raised?
I've been looking but really don't know where to look anymore.

Second question.
A control has a context menu.
The control is on a form with a main menu.
Is it ok to merge the context menu into the main menu.
Then the menu items (unless Merge clones them) will be in both the context
and the main menu.
Thanks in advance for any help received
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Does the popup event have "Handles menu.Popup" on the end of the first line:

e.g.

Private Sub ctxFile_Popup(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles ctxFile.Popup <<< **

Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@headfirst.co.uk
www.headfirst.co.uk www.callofcthulhu.com
-
" SamSpade" <st**************@REMOVEaol.com> wrote in message
news:uV*************@tk2msftngp13.phx.gbl...
I use to get popup events when I checked out the menu coding.
That was a while ago. Something I did in the interim must have suppressed
those events because I just noticed I don't get them any more.
What could I do that will cause menu item Popup events not to be raised?
I've been looking but really don't know where to look anymore.

Second question.
A control has a context menu.
The control is on a form with a main menu.
Is it ok to merge the context menu into the main menu.
Then the menu items (unless Merge clones them) will be in both the context
and the main menu.
Thanks in advance for any help received

Nov 20 '05 #2

P: n/a
Yes
And if I Select Popup in the IDE dropdown box the routine is the one
selected by the IDE
thank for asking

"Simon Jefferies" <si****@headfirst.co.uk> wrote in message
news:uN**************@tk2msftngp13.phx.gbl...
Does the popup event have "Handles menu.Popup" on the end of the first line:
e.g.

Private Sub ctxFile_Popup(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles ctxFile.Popup <<< **

Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@headfirst.co.uk
www.headfirst.co.uk www.callofcthulhu.com
-
" SamSpade" <st**************@REMOVEaol.com> wrote in message
news:uV*************@tk2msftngp13.phx.gbl...
I use to get popup events when I checked out the menu coding.
That was a while ago. Something I did in the interim must have suppressed those events because I just noticed I don't get them any more.
What could I do that will cause menu item Popup events not to be raised?
I've been looking but really don't know where to look anymore.

Second question.
A control has a context menu.
The control is on a form with a main menu.
Is it ok to merge the context menu into the main menu.
Then the menu items (unless Merge clones them) will be in both the context and the main menu.
Thanks in advance for any help received


Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.