Hello Guys,
I have the following simple problem: I need when edit one cell in TNextgrid6 and after press enter, program automatically to select another cell to edit.
So I'm writing the following code:
procedure TForm1.BitBtn1Click(Sender: TObject); begin ogrid.Editing:=True; gName.Editing:=true; gVal.Editing:=true; activecontrol:=ogrid; ogrid.AddRow(5); ogrid.EditCell(gName.Index,4); end; procedure TForm1.ogridKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin if key=vk_return then ogrid.editcell(1,0); end;