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.

Shift + Tab

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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

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.

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.

;