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.
Syncfusion Feedback

Reg: key Event

Thread ID:

Created:

Updated:

Platform:

Replies:

33361 Aug 18,2005 12:08 PM UTC Aug 18,2005 02:23 PM UTC WinForms 3
loading
Tags: GridControl
Anna Srinivasan
Asked On August 18, 2005 12:08 PM UTC

Hi, Is there any possiblility to capture the Ctl+A key in gridGroupingControl1_TableControlCurrentCellKeyUp event. Right now i am using gridGroupingControl1_TableControlCurrentCellControlKeyMessage event. Problem in this event is i have to click the grid cell then only i can able to capture Ctl+A event otherwise not. Thanks, Anna

Administrator [Syncfusion]
Replied On August 18, 2005 01:41 PM UTC

I think you will have to handle two events to catch the two different situations. TableControlCurrentCellKeyDown can catch the ctl+A if there is not an active CurrentCell, and TableCOntrolCurrentCellControlKeyMessage can catch the ctl+A if there is an active current cell.

Anna Srinivasan
Replied On August 18, 2005 02:18 PM UTC

Hi, Could you please send the condition (Ctl+A) for keydown event. thanks, Anna

Administrator [Syncfusion]
Replied On August 18, 2005 02:23 PM UTC

private void gridGroupingControl1_TableControlCurrentCellKeyDown(object sender, GridTableControlKeyEventArgs e)
{
	if(e.Inner.KeyCode == Keys.A && e.Inner.Control)
	{
		Console.WriteLine("Ctl+A");
	}
}

CONFIRMATION

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.

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

;