ich bin's noch mal. Ich habe mich jetzt schon einige Zeit mit folgender Prozedur rumgeschlagen:
Code: Alles auswählen
procedure TformNotendurchschnittsrechner.StrGrdModulplanKeyDown(
Sender: TObject; var Key: Word; Shift: TShiftState);
begin
if (Key = VK_RETURN) and (StrGrdModulplan.Row<10) then //stringgrid hat 10 Zeilen, daher die zweite Bedingung
StrGrdModulplan.Row:= StrGrdModulplan.Row+1;
end;
Vielen Dank im Voraus!