D2010 & GIF Animation problem

General TRichView support forum. Please post your questions here
Post Reply
hellowangyi
Posts: 3
Joined: Tue Aug 17, 2010 11:48 am

D2010 & GIF Animation problem

Post by hellowangyi »

Hi.
After I changed to D2010 (update 5) and TRichView to version 12.0.4 and the OS is Win7 Prof.,I am experiencing problems with GIF animation,the gif does not animate.the same code worked on Delphi7. I have included RVGifAnimate2007 and GifImg in uses section.

Thanks in advance.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Did you set RichViewEdit.AnimationMode = rvaniOnFormat?
hellowangyi
Posts: 3
Joined: Tue Aug 17, 2010 11:48 am

Post by hellowangyi »

thanks Sergey .
Yes,I did set RichViewEdit.AnimationMode = rvaniOnFormat,and the code is same as that in delphi7.The only diffrences are the OS from WinXP to Win7, developtools from D7 to D2010.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

May be you did not remove the old GifImage from the project, and images are loaded in GifImage.TGifImage instead of GifImg.TGifImage?

Can the problem be reproduced in a simple project?
hellowangyi
Posts: 3
Joined: Tue Aug 17, 2010 11:48 am

Post by hellowangyi »

It works.
I deleted the old GifImage files and replaced gifimage with gifimg in uses section.

Sergey,thank you very much!
Post Reply