var
i :Integer;
begin
for i := 1 to 10 do
(FindComponent('Edit'+inttostr(i)) as TEdit).Text := inttostr(i);
end;
转载于:https://www.cnblogs.com/michellexiaoqi/p/9716918.html
var
i :Integer;
begin
for i := 1 to 10 do
(FindComponent('Edit'+inttostr(i)) as TEdit).Text := inttostr(i);
end;
转载于:https://www.cnblogs.com/michellexiaoqi/p/9716918.html