| ImageEn, unit ieanimation |  | 
 
TIEAnimation.NeedRefresh
 
Declaration
property NeedRefresh: boolean;
Description
Applications will read this value to determine whether a call to 
Display is necessary.
This property is True when animation is running, and False when the last frame has been painted.
NeedRefresh can be also True just after a property has been changed.
// repaint frame (if necessary)
procedure TMainForm.Timer1Timer(Sender: TObject);
begin
  if m_animation.NeedRefresh then
  begin
    ImageEnView1.IEBitmap.Fill(clBlack);
    ImageEnView1.IEBitmap.AlphaChannel.Fill(255);
    m_animation.Display(ImageEnView1.IEBitmap);
    ImageEnView1.Update();
  end;
end;