|
by: Frank Oquendo |
last post by:
My DataGrid has a ContextMenu assigned to it. If I right-click the
current cell, I get the standard Windows context menu (Cut, Copy, Paste,
etc.). If I right-click anywhere else, I get my context menu.
I want my context menu at all times. Is this possible? If so, how?
--
There are 10 kinds of people. Those who understand binary and those who
don't.
|
by: Striped |
last post by:
What's wrong with the context menu?
I have created one for the DataGrid control and showing it like this:
private void dataGrid_MouseUp(object sender,
System.Windows.Forms.MouseEventArgs e)
{
if( e.Button == MouseButtons.Right)
{
if( dataGrid.ContextMenu != null )
|
by: Dennis C. Drumm |
last post by:
Is there a way to modify the standard context menu shown when someone right
clicks in a windows text box and that would work for all open windows
applications?
The standard context menu for a text box has 6 items, undo, cut, copy,
paste, delete and select all. I would like to add one additional paste menu
that opens a new sub menu with several optional text items that could be
pasted. The items would be populated by my program but...
|
by: skOOb33 |
last post by:
I have a context menu for a datagrid that shows up fine. I am wanting
to set it to where when a user right clicks anywhere on the grid, it
will select the row the mouse is over (if it's over one), and then
display the context menu. Any help is appreciated.
thanks
|
by: kakss |
last post by:
I have a grid control that is data-bound to a datatable. What I want
to be able to do is set up a context menu, and then whenever the user
press right click keyboard key (not using mouse) on a particular cell,
the following occurs:
A. That cell (in that row-column) is made the 'current' cell
B. Then my context menu is displayed at the currnt cell Point X, Y
co-ordinate.
Thanks in advance.
|
|
by: Art |
last post by:
Hi,
Recently I was given a solution to a similar problem with a ListBox, but now
I need to do the same thing with a DataGrid.
I want my users to be able to right click on a row on a DataGrid and not
only get the context menu, but have the selection move to the row they've
right clicked.
Is there any way to do this?
|
by: news.microsoft.com |
last post by:
I have a 2 columns, 5 rows datagrid with 1st column ReadOnly, and 2nd Column
Editable, (e.g ResourceFiles, Path)
I am trying to make a context menu to open file dialog for path searching.
But I am not able to correctly locate the selected row from the datagrid.
Example:
ResourceFiles Path
res.txt XXXXXXXXXXXXXXXXXXXX
My codes is as follows.
|
by: coltrane |
last post by:
Can someone direct me to a reference that describes how to create a
context menu for a selected row in a datagrid? I have come across many
threads regarding context menus and datagrids but they all seem to be
how to modify the default behavior. I've gone through a couple of books
and many threads but none of these seem to discuss creating a context
menu for a given row. I did come across a thread that allowed me to
create a menu for the...
|
by: faizalks |
last post by:
hi all,
my problem is how can i include checkbox in context menu and i want to check more than one check box.
i have a datagrid, if i right click the column header of grid a context menu will be display it will contain a list of column names with checkbox, whichever checkbox i am check in , the corresponding column should be display in datagrid.
here i dont know how to include checkbox and multiple check
please help me anybody knows
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: 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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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...
|