Just as there is 'this' in JavaScript, what is the equivalent in Delphi? And how would I use it? I want to replace the 'UniButtonX' of each procedure with a 'this' equivalent to the clicked button.
procedure TUniForm1.UniButton1Click(Sender: TObject);
var numero : string;
begin
numero := UniEdit1.Text;
UniEdit1.Text := numero + UniButton1.Caption;
end;
procedure TUniForm1.UniButton2Click(Sender: TObject);
var numero : string;
begin
numero := UniEdit1.Text;
UniEdit1.Text := numero + UniButton2.Caption;
end;