destructor TMyImage.Destroy;
begin
if FTimer <> nil then FTimer.Free;
inherited Destroy;
end;
procedure TMyImage.ActiveTimer;
begin
if FTimer = nil then FTimer := TTimer.Create(Self);
with FTimer do
begin
OnTimer := DoOnTimer;
Interval := FInitPause;
Enabled := True;
end;
end;