TThread.CreateAnonymousThread(方法名或者匿名方法).Start();

procedure TForm1.Button1Click(Sender:TOBject);

begin

  TThread.CreateAnonymousThread(

    procedure()

    begin

      //do somthing

    end

  ).start();

end;

 

 

 

相关文章:

  • 2021-08-19
  • 2021-06-11
  • 2021-06-27
  • 2022-12-23
  • 2021-10-23
  • 2021-08-11
  • 2022-02-13
  • 2021-11-19
猜你喜欢
  • 2021-12-09
  • 2021-12-13
  • 2021-07-20
  • 2021-11-05
  • 2022-02-08
  • 2022-02-08
  • 2022-02-08
相关资源
相似解决方案