Показать сообщение отдельно
  #3  
Старый 26.01.2015, 09:33
icWasya icWasya вне форума
Местный
 
Регистрация: 09.11.2010
Сообщения: 499
Репутация: 10
По умолчанию

правильно так
Код:
type
  TForm1=class(TForm)
 ......
  private
    imageindex: integer;
 .......
end;

procedure TForm1.Timer1Timer(Sender: TObject);
begin
  image1.picture.loadfromfile(inttostr(imageindex)+'.png');
  if imageindex >=7 then imageindex:=0 else imageindex:=imageindex+1;
end;
Ответить с цитированием