Animated Gif

General TRichView support forum. Please post your questions here
Post Reply
cychia
Posts: 104
Joined: Mon Jan 16, 2006 1:52 am

Animated Gif

Post by cychia »

After a Gif Animator has been inserted to RVE, it is not allow to be resized. But I have seen from the RV demo "Editor 1" the TButton and TEdit inserted can resize. May I know how to allow my TJvGifAnimator to be resized after inserted into RVE?

Besides, is it possible for the TJvGifAnimator inserted to move like normal image. For example, drag the image in the RVE and move it to somewhere else in the RVE.

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

Post by Sergey Tkachenko »

This demo explains how to implement resizing of inserted controls:
http://www.trichview.com/forums/viewtopic.php?t=157

But this is not a recommended way to insert gif animation in TRichView.
It's better to use TRichView's animation engine instead.
For JVCL:
- insert gifs just like any other picture (such as bitmap);
- include RVJvGifAnimate.pas in your project
- set RichView.AnimationMode=rvaniOnFormat.
Post Reply