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

Shift + Tab

Thread ID:

Created:

Updated:

Platform:

Replies:

69999 Nov 22,2007 03:42 AM UTC Nov 22,2007 03:25 PM UTC Windows Forms 1
loading
Tags: GridControl
KJLIM
Asked On November 22, 2007 03:42 AM UTC

Hi,

I like to have shift+tab can be move to previous cell, how can I do it?

Thanks



haneefm [Syncfusion]
Replied On November 22, 2007 03:25 PM UTC

Hi Lim,

Here is some code snippet to handle this in grid's CurrentCellKeyDown.

void gridControl1_CurrentCellKeyDown(object sender, KeyEventArgs e)
{
if (e.Modifiers == Keys.Shift && e.KeyCode == Keys.Tab)
{
GridControl ShiftTabKeyGrid = sender as GridControl;
ShiftTabKeyGrid.CurrentCell.MoveLeft();
e.Handled = true;
}
}

Best regards,
Haneef


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

;