Hi,
If you have time, you can replace next procedure in NxCustomGrid6.pas file
I'm still testing it and I will include fix in next release.
procedure TNxCustomGrid6.KeyDown(var Key: Word; Shift: TShiftState);
begin
inherited;
case Key of
VK_PRIOR..VK_DOWN, VK_RETURN, VK_TAB: FSelectionKey := Key;
end;
if Assigned(ActiveView)
and ActiveView.Enabled then
case Key of
VK_F2:
if InsertSelected then InsertCell(SelectedCol)
else if HasRows then EditCell(SelectedCol, SelectedRow);
VK_TAB: TabByColumn(Shift, True);
VK_RETURN:
begin
if Inserting then
begin
{ AddInsertRow call EndEditing }
if InsertSelected then AddInsertRow;
end
else if Editing then
begin
if EndEditing then
if InsertSelected then AddInsertRow else
case SelectionDirection of
sdUp: MoveByRow(-1, Shift);
sdDown: MoveByRow(1, Shift);
sdLeft: TabByColumn([ssShift], goTabLeaveControl in Options);
sdRight: TabByColumn([], goTabLeaveControl in Options);
end;
end
else if SelectionDirection = sdNone then EditCell(SelectedCol, SelectedRow);
end;
VK_ESCAPE: EndEditing(False);
else
begin
(ActiveView as INxInteract).KeyDown(Key, Shift);
end;
end;
end;