TThread.CreateAnonymousThread(方法名或者匿名方法).Start();
TThread
.
CreateAnonymousThread(方法名或者匿名方法).Start();
procedure TForm1.Button1Click(Sender:TOBject);
begin
TThread.CreateAnonymousThread(
procedure()
//do somthing
end
).start();
end;