|
by: MD |
last post by:
I have a ContextMenu that is assigned to 3 RichTextBox's (i.e., if you
right-click on any of the 3 RichTextBox's, you get the same ContextMenu).
My ContextMenu has 2 items, each of which have their own click event
handlers. When I click on any of the options in the ContextMenu, I want to
know which RichTextBox the ContextMenu is currently...
|
by: Brian Martel |
last post by:
I am trying to create a dynamic flyout submenu off of a contextmenu.
I can right click and get the base contextmenu ok.
On the Popup event I add MenuItem's to the collection of one of the items so
it has a flyout submenu when selected.
If I try and add more than 1 item to the submenu it only shows up the first
time.
This same code works fine...
|
by: Valerie Hough |
last post by:
I have two different cases:
0) I right click the mouse button on a list box on my form, then in the
Popup handler for the list box I use SendKeys to send three characters at
once (the mnemonics for the three submenus I want to open). These characters
cause three levels of submenu to open. This is just what I want to happen
except I want to...
|
by: Daniel K. |
last post by:
I've got a form with a usercontrol and a contextmenu for it. I put
everything together in the VS form designer. the codesnipped below is
from that dialog.
The problem: Before i added the cmObjektTree.Dispose() call in the
forms' dispose function, the garbage collector didn't collect my form
and everything on / related to it if i opened the...
|
by: Zieben |
last post by:
Hello!
I have such problem!
I have my UserControl. I override property ContextMenu for this
Control as
.....
new ContextMenu ContextMenu{
set {_contextMenu = value;}
|
|
by: cemino |
last post by:
Hi,
I got a problem with ContextMenu. I'm using a hot-key (like Ctrl-B) to
show contextMenu in my program. Things is like below:
contextMenu.Show(Form1, New
Point(Cursor.Position.X,Cursor.Position.Y));
But it looks that the contextMenu can not get focus in this way,
because I can not use the Up/Down keys on keyboard to do menu...
|
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 =...
|
by: Graham Charles |
last post by:
I'm writing a control inheriting from ComboBox, and I'd like to add an
entry to the ContextMenu for that combo box. I have no problem if I
create an entirely new ContextMenu from scratch, but I'd prefer just to
tack my MenuItem on to the existing, built-in ContextMenu (Cut, Copy,
Paste, etc.):
_RemoveMRUItemMenu = New MenuItem...
|
by: asharda |
last post by:
Hi,
I am trying to create a context menu in my application. The context
menu takes menu otems from an XML file. In XAML the code is
<Grid.ContextMenu>
<ContextMenu Name="cm" StaysOpen="true" Width="Auto"
Height="Auto" ItemsSource="{Binding Mode=OneWay,
Source={StaticResource ListItemsDS}, XPath=/ListboxItems/ListboxItem/
ScreenName}"...
|
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...
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
|