|
by: Aaron Queenan |
last post by:
How can I use the designer to add a context menu to a class which inherits
from a control, e.g. treeview, without adding the context menu to a form?
For example, to add a context menu with "Select All" and "Clear Selection"
to a checked list box?
Thanks,
Aaron Queenan.
|
by: Claire |
last post by:
When I run the following code through on the first round, my sub-menu
(branched off mnuOpenPorts menuitem) shows a nice list of ports.
When it gets run through on the 2nd pass, the sub menu indicates that it
should be there but there's no items appearing in it. (ie a small indicator
arrow is there showing there should be a sub menu but nothing pops up)
When I step through the code, I have 5 items in Comports. After adding all
the sub menu...
|
by: Claire |
last post by:
Sorry Ive added this twice (sortof) but if I'd added an addendum to the
first one then this would probably have been ignored.
This problem affects a ContextMenu attached to a NotifyIcon object. I don't
get the problem with context menus attached to list boxes etc.
Ive also seen a noticeable slow down in speed when the menu attempts to hide
after the problem occurs.
When I build a dynamic submenu on the first time round, it shows a nice...
|
by: tmaster |
last post by:
When I try to dynamically add a second sub menu item to this ContextMenu
item, I get an error 'Specified argument was out of the range of valid
values'.
Private Sub mnuTopics_Show_Select(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles mnuTopics_Show.Select
Dim mShowMenuItem As MenuItem
mShowMenuItem = DirectCast(sender, MenuItem)
|
by: jack |
last post by:
Hello,
I need to dynamically add menu items to an existing menu on an MDI form. In
the form load, when I create the menu items then add it to the menu control
using the Add method, the entire menu dissappears. Any one know why?
Below is the code I'm using to create the menu items and append them to the
existing menu:
Dim aDatasheets As ArrayList = gOSSystemFile.Datasheets
|
|
by: stinehelferw |
last post by:
I need a right-click menu on a form list control with combobox
controls.
I used View->Toolbars->Customize to create a toolbar.
I added ComboBox through commands tab.
I set properties to Popup making it a shortcut menu.
I have no problem linking it to the list control.
The menu comes up when I right-click the list control.
|
by: MCM |
last post by:
I'm working on a plotting control. The plotting control will have a context
menu with basic commands for "scaling", "zooming", etc. Is there a way
that, from the parent form, I can add more commands to the control's context
menu?
I'm envisioning a case where the control has a set of context menu items,
and the parent form also has a set of context menu items.
Thanks.
|
by: Luqman |
last post by:
How can I dynamically Add menuStrip and its menuItems through code using
VB.Net 2005 ?
Best Regards,
Luqman
|
by: avi1000 |
last post by:
Hi
I want to do something with microsoft Word spell check and I wanted to know if it's possible.
I have a TextBox and I want to check the word in the textbox with the help of Word spellcheck.
I have two problems:
I want to be able to right on a word and get the contaxt menu with the suggestions.
according to this article:
Article Link
I only have the dialog with the spell suggestions.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|