在Form.OnKeyPress事件中写如下代码试试看:<br><br>if Key = #13 then <br> if ActiveControl = DBGrid1 then <br> begin <br> TDBGrid(ActiveControl).SelectedIndex := TDBGrid(ActiveControl).SelectedIndex + 1; <br> Key := #0; <br> end;