|
by: Deutsche Dogge |
last post by:
Hi. I'M having a weird problem with addign menuitems to a menu dynamically
on the popup event of the menuitem containing the container of the
menuitems i wanna add (tools -> external -> {list of items dynamically
added})
All the code works #1 when only the MdiParent form is used, as soon as i
open an MdiChild in it, right after the popup...
|
by: Kreisquadratur |
last post by:
Below is s snippet of my code, which should add menuitems as a submenu
of an item in a contextmenu. But only the first time the contextmenu
opens the entrys are set correctly. I just don't know why or how to
solve this problem...
private void contextMenu1_Popup(object sender, System.EventArgs e)
{
contextMenu1.MenuItems.MenuItems.Clear();...
|
by: Steve Tan |
last post by:
1. How can I loop through all the items and subitems for Menu of a
Windows Form (c#) ? Recursive function?
2. How can I uniquely identify a submenu item ? MenuItems doesn't have
a Name property.
Thanks,
Steve
|
by: Brian |
last post by:
Create a simple MDI form and a child form, and try the following simple code
to add a new menu item on the Edit menu popup:
private void editMenu_Popup(object sender, System.EventArgs e)
{
editMoreMenu.MenuItems.Add("New MI " + count);
count++;
}
and get "An unhandled exception of type 'System.NullReferenceException'
|
by: Davie |
last post by:
I'm developing an application on the smartphone. To reduce the size of the application i'm using panels where appropriate instead of forms. As a result of the design, I need to have different context menus on one form. I had tried to declare two MainMenu items and then simply switch the display accordingly. eg.
public void...
|
|
by: Jorge Cavalheiro |
last post by:
Hello
I am trying to browse thru all menuitens of contextmenus.
The form has 3 contextmenus.
mi and mi2 as menuitems, f is a form
For Each mi In f.ContextMenu.MenuItems
For Each mi2 In mi.MenuItems
Next
|
by: cc |
last post by:
hi,
when adding items to a MenuStrip VS 2005 defines them as objects of type
ToolStripmenuItem ???
I would expect MenuItems (as in VS 2003). Why this change ?
Thing is, I would like to merge menuitems using the MergeMenu-method, but
this method is nowwhere to be found in ToolStripmenuItem.
|
by: active |
last post by:
I have a mainmenu menuitem
that contains a Recently Used Files menuitem
If at design time I include a menuitem in the Recently Used Files menuitem
collection it will display OK
If I programmatically add more menuitems to the Recently Used Files menuitem
they show ok
However, if I clear the Recently Used Files menuitem collection
and then...
|
by: cnixuser |
last post by:
Hello, I am currently attempting to modify an ASP.NET menu that I found online so that I will be better able to control the look and feel of menus that I create in the future. The current one that I am modifying is a simple "pop out" menu with a Horizontal orientation. If you compile that code that I am including in this post, you will see that...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|