473,396 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

No Popup event for my menu items

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
2 1827
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dan H | last post by:
I'm trying to add menu items dynamically in the Popup event of a MenuItem in an MDI child form. Actually, I'm using the Genghis MRU class, but have also dumbed it down to a simple test case in a...
4
by: Randy | last post by:
I am trying to right click on a form and have a custom popup menu display. Does anyone know how to do this in vb.net. Thanks!
0
by: Dino M. Buljubasic | last post by:
I have several context menu added to my forms. The forms are displaying items in a list view. When I click on an item in a list view, a popup context menu shows allowing me to chese between...
3
by: RahimAsif | last post by:
I am writing an application that requires the a portion of the main menu to be dynamic. The menu has file, panels, view files and help across the top. The view files sub menu needs to be...
9
by: john | last post by:
In Paradox I was able to create popup menu's in which some of the items had popup menu's themselves. I've looked for threads on popup menu's and access but I can't find how to make a simple popup...
2
by: Claire | last post by:
I've a treeview control containing a root node with several children on a windows form. I select a node with a left mouse button click. I then select one of the other nodes with right mouse click...
5
by: SQACSharp | last post by:
I'm trying to automate an action in Internet Explorer.... I'm trying to click an image that open a popup menu. The html code of the iimage look like like <img blabla..OnClick="ShowMenu()"/> I...
9
by: Academia | last post by:
ContextMenu has a Popup event but MainMenu does not. I need Popup with MainMenu. Do you know anyway to simulate it? Thanks in advance
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.