Page 1 of 1

D2010 & GIF Animation problem

Posted: Tue Aug 17, 2010 12:18 pm
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.

Posted: Tue Aug 17, 2010 2:59 pm
by Sergey Tkachenko
Did you set RichViewEdit.AnimationMode = rvaniOnFormat?

Posted: Wed Aug 18, 2010 10:08 am
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.

Posted: Wed Aug 18, 2010 1:37 pm
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?

Posted: Thu Aug 19, 2010 12:49 am
by hellowangyi
It works.
I deleted the old GifImage files and replaced gifimage with gifimg in uses section.

Sergey,thank you very much!