Answers for "delphi onkeypress check for enter"

0

delphi check if key pressed is enter

procedure TForm1.Memo1KeyPress(Sender: TObject; var Key: Char);
begin
  if Key = #13 then
  begin
    // Do something
  end;
end;
Posted by: Guest on April-06-2020

Browse Popular Code Answers by Language