Delphi 怎么样判断 frxReport 里面有多少控件

就是 FastReport, 怎么样判断里面有多少个控件
2025-03-24 03:32:09
推荐回答(1个)
回答1:

with frmForm do
begin
for i := 0 to ComponentCount - 1 do
begin
if (Components[i] is Tfastreport) then
j:=j+1;

end;
result:=j;
end;
end;