Hi
I'm currently using the below code when a user exits the cell, i then run what code i want. But i only want to catch the event when they leave the cell by clicking tab.
Is there a way i can see when they press tab key on a datagrid cell???
private void dtgrdGLTransLines_CellEnter(object sender, DataGridViewCellEventArgs e)
{
if (dtgrdGLTransLines.Columns[e.ColumnIndex].Name == "Debit")
{
if (dtgrdGLTransLines[e.ColumnIndex, e.RowIndex].Value == null && dtgrdGLTransLines[e.ColumnIndex+1, e.RowIndex].Value != null)
{
//my code
}
}
}
thanks in advance 