Ver Mensaje Individual
  #3  
Antiguo 01-02-2016
Mosis2k2 Mosis2k2 is offline
Miembro
 
Registrado: feb 2007
Posts: 12
Reputación: 0
Mosis2k2 cantidad desconocida en este momento
Multihilos

Preuba con esto y nos comentas:

Código Delphi [-]
procedure TForm1.btnTestClick(Sender: TObject);
var
  LThread: TMyThread;
  i: Integer;
begin

  For i := 1 to 5 do
  begin
    LThread := TMyThread.Create;
    try
      LThread.text := 'hi';
      LThread.FreeOnTerminate := True;
    except
      LThread.Free;
      raise;
    end;
    LThread.Resume;
  end;
end;
Responder Con Cita