![]()  | 
	
 
  | 
		
			
  | 	
	
	
		
		|||||||
| Регистрация | << Правила форума >> | FAQ | Пользователи | Календарь | Поиск | Сообщения за сегодня | Все разделы прочитаны | 
| 
		 | 
	Опции темы | Поиск в этой теме | Опции просмотра | 
| 
		 
			 
			#3  
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
| 
	
	
		
			
			 The problem is diferent. 
		
	
		
		
		
		
		
	
		
		
	
	
	It is in your thread. You created thread and set it to terminate on finish... ...and you do not have loop inside. The main thread procedure (Execute) went to the finish and thread commit the suicide ![]() The code in the thread should look like the following: Код: 
	procedure TTestThread.Execute;
begin
  FreeOnTerminate:=true;
  While not Terminated do
    begin
      form1.Button4.Click;
    end;
end; |