1) is there any recent example of gif animation in richview just because i couldnt make any application thought this trichview. I found some example but they are fairly old and i am using codegear 2007
(this example may contain local harddrive gif like c:\anim.gif)
2) when i try to add gif animation which you gave the example of the site got error such (insertimage) how can i fix this problem?
3) can i use gif anim from which sended stream to another client? for example when from client1 msn sent anim gif to msn client2 and client2 got the anim gif from 80th port and view in richview can i do same things with trichview ?
gif animation
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
It's very simple.
1) Set RichView1.AnimationMode := rvaniOnFormat.
2) Include the unit RVGifAnimate2007 in your project.
3) Call RegisterClass(TGifImage) one time, before the first loading.
Now you can insert gif animations like any other graphic in TRichView, using TGifImage class (from GifImg unit shipped with Delphi 2007)
As for sending data between computers, this part of code is not related to TRichView. You can send gif file (or rvf file containing gif), receive it, then load like local files.
1) Set RichView1.AnimationMode := rvaniOnFormat.
2) Include the unit RVGifAnimate2007 in your project.
3) Call RegisterClass(TGifImage) one time, before the first loading.
Now you can insert gif animations like any other graphic in TRichView, using TGifImage class (from GifImg unit shipped with Delphi 2007)
As for sending data between computers, this part of code is not related to TRichView. You can send gif file (or rvf file containing gif), receive it, then load like local files.