We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how can i catch TAB key

Thread ID:





1229 Oct 4,2002 04:23 PM UTC Oct 9,2002 07:47 AM UTC WinForms 1
Tags: FAQ
Asked On October 4, 2002 04:23 PM UTC

how can i catch TAB key in winform datagrid? which event? how?

Administrator [Syncfusion]
Replied On October 9, 2002 07:47 AM UTC

I don't think you can catch the tabkey in an event. You can catch it by overriding ProcessDialogKey.
public class MyDataGrid : DataGrid
	protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData)
		if(keyData == Keys.Tab)
			return true; //eat the key if this is what you want
		return base.ProcessDialogKey(keyData);


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon