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.

Reg: key Event

Thread ID:

Created:

Updated:

Platform:

Replies:

33361 Aug 18,2005 08:08 AM Aug 18,2005 10:23 AM Windows Forms 3
loading
Tags: GridControl
Anna Srinivasan
Asked On August 18, 2005 08:08 AM

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 09:41 AM

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 10:18 AM

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

Administrator [Syncfusion]
Replied On August 18, 2005 10:23 AM

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.

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.

;