Panel1, darauf Image1, mit Code unten ruckelt nichts:
Delphi-Quellcode:
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
case Key of
VK_UP:
Panel1.Top:= Panel1.Top-5;
VK_DOWN:
Panel1.Top:= Panel1.Top+5;
VK_LEFT:
Panel1.Left:= Panel1.Left-5;
VK_RIGHT:
Panel1.Left:= Panel1.Left+5;
end;