I would like a TEdit
to receive the value of a TLabel
and clicking on another TLabel
the caption property would concatenate what was received before.
Ex:
edit.text := valorlabel1 valorlabel2 valorlabel3 .....
I tried to use a global variable , but one hour would be impractical.
var variavel_global1 : string;
By clicking on the label:
procedure TForm3.edt_variavel1Click(Sender: TObject);
begin
edit1.Text := edt_variavel1.caption + ' ';
variavel_global1 := edit1.Text;
end;
Is there any other way to do this?