No announcements
Found 46328 threads
-
16 Votes
DataGridView KeyDown?
Check out the DataGridView faq for more info: http://www.windowsforms.net/Samples/Go%20To%20Market/DataGridView/DataGridView%20FAQ.doc That said, you do ...Answered | 52 Replies | 89639 Views | Created by Adam Plocher - Wednesday, September 14, 2005 10:49 PM | Last reply by mw8pb1rn9qny - Tuesday, September 2, 2014 9:08 AM -
1 Votes
KeyDown help!
it should be // Event this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown ...Answered | 5 Replies | 4236 Views | Created by KBobMan - Thursday, June 24, 2010 7:32 PM | Last reply by Serguey123 - Thursday, June 24, 2010 7:46 PM -
1 Votes
How to get the value from a row in DataGridview using KeyDown Method
= 0 && hitTest.RowIndex >= 0) { var cell = dataGridView1[hitTest.ColumnIndex, hitTest.RowIndex]; ...Answered | 2 Replies | 1611 Views | Created by Jason Alerta Obina - Tuesday, March 6, 2012 3:46 AM | Last reply by Jason Alerta Obina - Tuesday, March 6, 2012 6:29 AM -
0 Votes
DataGridViewComboBoxEditingControl KeyDown handler
Hi kaborka, I think before you clear the cell, you can set the tag of the DataGridview Cell as the selected index.Answered | 7 Replies | 4383 Views | Created by kaborka - Tuesday, August 23, 2011 12:40 AM | Last reply by kaborka - Monday, August 29, 2011 4:48 PM -
0 Votes
Datagridview
Hi, You might want to send keydown message to datagridview to select different cells, please take a look at the code I assume you have textBox1 and ...Answered | 5 Replies | 3215 Views | Created by Chirs John - Wednesday, December 9, 2009 4:45 AM | Last reply by Harry Zhu - Tuesday, December 15, 2009 4:48 AM -
2 Votes
How to get the value from a row in DataGridview using KeyDown Method
I have a DataGridview which binded TO a Datatable in a Windows Form, and Declared the code below in the ...Answered | 3 Replies | 5694 Views | Created by Jason Alerta Obina - Tuesday, March 6, 2012 3:47 AM | Last reply by Bob Wu-MT - Thursday, March 8, 2012 9:33 AM -
4 Votes
Page KeyDown Event Not Firing
I have added the KeyDown event to the constructor of both of my pages, like so: Window.Current.CoreWindow.KeyDown += ...Answered | 5 Replies | 10342 Views | Created by Alexander Deeb - Sunday, August 19, 2012 11:28 PM | Last reply by Alexander Deeb - Tuesday, August 21, 2012 9:00 PM -
1 Votes
Control Keydown Event Question
Private Sub txtField1_KeyDown(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles txtField1.KeyDown, txtField2.KeyDown, txt..............Answered | 1 Replies | 1654 Views | Created by Jeff07 - Wednesday, May 9, 2012 5:04 PM | Last reply by Cor Ligthert - Wednesday, May 9, 2012 5:19 PM -
0 Votes
Help for DataGridView
So when the cell get focused, it's non bussiness of the datagridview itself, the datagridview is just a container, so your key press will not fire the keyPress event of the ...Answered | 4 Replies | 4295 Views | Created by Jahangir Shanto - Wednesday, October 26, 2011 8:38 AM | Last reply by Helen Zhou - Monday, October 31, 2011 6:43 AM -
0 Votes
[XAML] KeyDown event in ComboBox
Kirstin Walter, >>I tried to implement the KeyDown Event of the Combobox but most of the times a single Combobox item is focused so the Event does not fire.Answered | 1 Replies | 1507 Views | Created by Kirstiin - Monday, January 25, 2016 9:55 AM | Last reply by Fred Bao - Tuesday, January 26, 2016 6:16 AM -
1 Votes
How to use KeyDown?
Use KeyUp instead of KeyDown to prevent the handler code from running multiple times for keypresses (accidentally) because KeyDown repeats while the key is held downnnnnnnn.Answered | 8 Replies | 4087 Views | Created by NintendoZACHERY - Saturday, September 12, 2009 2:04 AM | Last reply by •.trujade.• - Tuesday, January 19, 2010 11:50 PM -
1 Votes
Problems refreshing datagridview
Im trying to delete the selected rows from a datagridview.Answered | 13 Replies | 2212 Views | Created by MattyJ131 - Friday, March 8, 2013 12:31 PM | Last reply by Kareninstructor - Wednesday, March 13, 2013 5:32 PM -
0 Votes
Getting ScanCode for KeyDown events
In most cases where you are looking for actual text the KeyDown event won't work.Answered | 1 Replies | 1947 Views | Created by David Goemans - Friday, November 9, 2012 11:46 AM | Last reply by Rob Caplan [MSFT] - Friday, November 9, 2012 9:59 PM -
0 Votes
Keyboard control KeyDown KeyUP
If you put a <Canvas> inside a UserControl then you can handle the KeyUp/KeyDown events on UserControl.Answered | 3 Replies | 2947 Views | Created by Intelmaster - Thursday, March 29, 2012 2:48 PM | Last reply by Intelmaster - Tuesday, April 17, 2012 9:13 PM -
0 Votes
KeyDown Event, FunctionKeys and TextBox
I have my KeyDown event on the form and it fires as expected and breakpoints work.Answered | 3 Replies | 952 Views | Created by ToCsharpFromCobol2013 - Friday, April 11, 2014 12:10 AM | Last reply by User3DX - Friday, April 11, 2014 4:21 PM -
0 Votes
Keydown Not Firing
Public Class Form1 Dim tbs(9) As TextBox Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ...Answered | 3 Replies | 3401 Views | Created by WalangAlam - Saturday, October 23, 2010 8:37 AM | Last reply by dbasnett - Saturday, October 23, 2010 1:42 PM -
2 Votes
KeyDown event is not handled
Hook the event handler to the CoreWindow instead of the MediaElement: CoreWindow.GetForCurrentThread().KeyDown += ...Answered | 2 Replies | 2520 Views | Created by phuongntm.uet - Wednesday, April 18, 2012 9:15 AM | Last reply by Rob Caplan [MSFT] - Wednesday, April 18, 2012 3:43 PM -
0 Votes
DataGridView Cell Control movement
You could use the KeyDown event to do that: private void DataGridView1_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) ...Answered | 1 Replies | 2886 Views | Created by Jayakrishnan_R - Wednesday, January 2, 2013 4:12 AM | Last reply by Nordine Ben Bachir - Wednesday, January 2, 2013 9:27 AM -
0 Votes
Dialogbar problem with keydown()
message == WM_KEYDOWN) { //Add your Appropriate code here whenever KeyDown is // pressed in the Dialog.Answered | 7 Replies | 1667 Views | Created by MUCHneed - Tuesday, April 10, 2012 1:46 AM | Last reply by Shanmuga_saai - Thursday, April 12, 2012 9:22 AM -
0 Votes
KeyDown at Form Level
Use the form's KeyDown or KeyPress events.Answered | 2 Replies | 4477 Views | Created by Metroidn1f - Saturday, February 12, 2011 10:31 PM | Last reply by Acamar - Saturday, February 12, 2011 11:02 PM - Items 1 to 20 of 46328 Next ›
No announcements