473,320 Members | 1,979 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,320 software developers and data experts.

Windows Datagrid KeyUp Event

I have a windows app that requires I use the Microsoft Datagrid.

My users would like to be able to select multiple rows using the Shift and
Ctrl keys, and the datagrid has the selection funtionality built-in, BUT

I can't seem to get the datagrid to respond to the KeyUp event for those
keys on the datagrid correctly. It appears that it only fires if I click on
the margin/control area OUTSIDE the rows. I have the same code in a MouseUp
event and that event seems to fire correctly, however although I have a
breakpoint set in the KeyUp event, it never appears to enter this event.

Does anyone have an idea of what I'm doing wrong, or an example of some
KeyUp event at the datagrid level?

Thanks
WhiteWizard(aka Gandalf)
May 25 '06 #1
0 1007

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Simpy | last post by:
I have an ordinary datagrid in a C# desktop application which displays products. I used the keyup-event to show a dialogform where product information can be edited. This works ok. But if the user...
0
by: Simpy | last post by:
I have an ordinary datagrid in a C# desktop application which displays products. I used the keyup-event to show a dialogform where product information can be edited. This works ok. But if the...
3
by: Sharon | last post by:
I’m using a DataGrid control on my form; and I want to handle the KeyUp event. So I did: myDataGrid.KeyUp += new KeyEventHandler(this.OnKeyUp); When the DataGrid is empty, I mean when It has...
4
by: Serdge Kooleman | last post by:
How to get "Key press" event when i'm working with DataGrid (winforms). Seems to me that standard events "KeyUp, KeyPress" are ignored :-( Thank you
2
by: Carl Tribble | last post by:
Is there any way to reliably catch KeyUp events for Function keys in particular while inside a datagrid? I have a form with KeyPreview=True and I am using the Form.KeyUp event to handle several...
1
by: Chris | last post by:
Hey, I have a DataGrid that allows for a combobox in a column through a inherited DataGridColumnStyle and a inherited ComboBox. I have 3 of these columns in a row. The overall problem is that...
2
by: Peter Fastré | last post by:
hello I have an ordinary datagrid in a vb.net application which displays products. I used the keyup-event to show a dialogform where product information can be edited. This works ok. But if the...
0
by: Gidi | last post by:
Hi, I have DataGrid which one of it's cells is a cell represting a date, I have KeyUp and KeyDown Events for this cell so after the day is entered i'm putting a "/" and after the month another...
10
by: amiga500 | last post by:
Hello, I have one basic simple question. When I have multiple records in the datagrid as follows: Code Product 1 Product 2 Product 3 11111 A B C...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.