hello,
don't use name as variable , in your code , name is the property name of the TForm1 component.
For example , you can do :
procedure TForm1.Edit1Change(Sender: TObject);
var myname : string;
begin
myname:=(Edit1.Text);
Edit2.Text:= myname;
end; and why you use a variable ? you use the variable in an another place in your program ?you can do :
procedure TForm1.Edit1Change(Sender: TObject);
var myname : string;
begin
Edit2.Text:= Edit1.Text;
end;