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.
Unfortunately, activation email could not send to your email. Please try again.

how can i catch TAB key

Thread ID:





1229 Oct 4,2002 12:23 PM Oct 9,2002 03:47 AM Windows Forms 1
Tags: FAQ
Asked On October 4, 2002 12:23 PM

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

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

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.

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.