Edit2.text:=x; Edit3.text:=y; // хотя раз X Y то наверно они integer , тогда так Edit2.text:=inttostr(x); Edit3.text:=inttostr(y);