Código Delphi [-] procedure TForm1.Edit2KeyPress(Sender: TObject; var Key: Char); begin If key=#13 then Label1.Caption:=IntToStr(StrToInt(Edit1.Text)+StrToInt(Edit2.Text)); end;
procedure TForm1.Edit2KeyPress(Sender: TObject; var Key: Char); begin If key=#13 then Label1.Caption:=IntToStr(StrToInt(Edit1.Text)+StrToInt(Edit2.Text)); end;