Home | About us | Overview | Softwares - Downloads | Evaluate | Order | Support | old forums | Contact | F.A.Q. | Documentations | Search | Sitemap

AnimateGIF Property

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

AnimateGIF Property

Postby leiqunni on Wed Sep 17, 2008 8:57 am

I'm coding C++Builder 2007 and GdViewer Pro 4.6.2 like this....

Code: Select all
__fastcall TForm1::TForm1(TComponent* Owner)
   : TForm(Owner)
{
   GdViewer1->AnimateGIF = true;
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
   GdViewer1->DisplayFromFile( WideString( "c:\\1.gif") );
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button2Click(TObject *Sender)
{
   GdViewer1->DisplayFromFile( WideString( "c:\\2.gif") );
}


1.gif and 2.gif are animation gif.

now, I click Button1, animation gif 1.gif start animation.
but 2.gif does not start animatiion when click Button2.
and I click Button1 again, 1.gif also dows not start animation.
why?
leiqunni
 
Posts: 6
Joined: Fri Jan 11, 2008 12:44 pm

Re: AnimateGIF Property

Postby Loïc on Wed Sep 17, 2008 11:55 am

You are right. This is a tiny problem which will be fixed within the next release.

You can add a call to the PlayGif() function after opening each file to bypass this behavior.

Best regards,

Loïc Carrère
User avatar
Loïc
Site Admin
 
Posts: 1350
Joined: Tue Oct 17, 2006 11:48 pm
Location: France

Re: AnimateGIF Property

Postby leiqunni on Wed Sep 17, 2008 12:03 pm

Thanls a lot to your reply.
I got understand :D
leiqunni
 
Posts: 6
Joined: Fri Jan 11, 2008 12:44 pm


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 0 guests