哦。我写错了
exports
begin
Act;
procedure begin
act(FatherFormHandle:cardinal);
var
form1:tform1;
begin
form1:=tfrom1.create(FatherFormHandle);
form1.show;
form1.search;
end;
在FORM中:
procedure tform1.search;
begin
tmytread.create;
end;
construction tmytread.create;
begin
...
end;
function tmytread,execute;
var
i:integer;
begin
for i:=1 to 100000do
if Mystringlist='Yes'
then
Mystringlist2.add(Mystringlist);
end;