Dlaczego Od razu wyświetla mi się strona interii? Przecież powinno być dobrze tzn najpierw onet, potem wp i dopiero interia :|
Z góry dzięki za odp.
procedure TForm1.Timer1Timer(Sender: TObject);
begin
if I=0 then begin
webbrowser1.Navigate('http://www.onet.pl');
// showmessage(inttostr(I) + 'nr1');
I:=1;
// showmessage(inttostr(I) + 'nr2');
end;
if I=1 then begin
webbrowser1.Navigate('http://www.wp.pl');
// showmessage(inttostr(I) + 'nr3');
I:=2;
// showmessage(inttostr(I) + 'nr4');
end;
if I=2 then begin
webbrowser1.Navigate('http://www.interia.pl');
// showmessage(inttostr(I) + 'nr5');
I:=0;
// showmessage(inttostr(I) + 'nr6');
end;
end;
I JESZCZE:
procedure TForm1.FormCreate(Sender: TObject);
begin
I:=0;
end;
end.