4procedure
TForm1.Button4Click(Sender:TObject);
4begin
4 poc:=100; Timer1.Enabled:=true;
4end;
4procedure
TForm1.Timer1Timer(Sender:TObject);
4begin
if a<>nil then a.posun(3,2);
4 if b<>nil then
b.posun(-5,-1);
4 if c<>nil then c.posun(2,-3);
dec(poc);
4 if poc<=0 then
Timer1.Enabled:=false;
4end;
4