0

I want to play a file download animation until a file is downloaded in my form. I want to use the one in Windows, but don't know whether it is an AVI or GIF. I see a place where I can download these files in AVI, but they are very old fashion. Maybe used in Windows XP or earlier version. I want to get a modern one for the Windows 10 or 7.

Also should I convert the AVI to GIF to play it, or whether Delphi can play AVI directly.

alancc
  • 487
  • 2
  • 24
  • 68
  • Use the `TAnimate` control, and give it an AVI file to play. – Ken White Dec 03 '20 at 03:18
  • @KenWhite, Thank you. Where can I find the system default animation files? – alancc Dec 03 '20 at 03:25
  • The *system default* animations are in the `CommonAVI` property. They don't include anything for download progress, however. – Ken White Dec 03 '20 at 03:41
  • @KenWhite, I check the CommonAVI propery. However, there is no animation for downloading file. I find one page at http://vbnet.mvps.org/index.html?code/avi/animationzips.htm where there are many old Windows animations, including the one I want, i.e. "Transfer from web". But CommonAVI is much more less than those listed in that page. – alancc Dec 03 '20 at 05:51
  • The answer to this question explain how to play an AVI: https://stackoverflow.com/questions/15336394/how-to-play-avi-files-with-fm – fpiette Dec 03 '20 at 07:24
  • 1
    An easier alternative would be using a "in progress" indicator that already comes built into the [VCL](http://docwiki.embarcadero.com/Libraries/en/Vcl.WinXCtrls.TActivityIndicator) and [FMX](http://docwiki.embarcadero.com/Libraries/en/FMX.StdCtrls.TAniIndicator) – Günther the Beautiful Dec 03 '20 at 08:34
  • @alancc the animations you are looking for are private to the OS’s own dialogs and are not exposed publicly to applications. That vbnet website provides downloads for animations that were extracted manually from the OS. – Remy Lebeau Dec 03 '20 at 08:35
  • @GünthertheBeautiful, seems that the indicator is not available in XE3? – alancc Dec 03 '20 at 11:56
  • @alancc: Yes, I said *They don't include anything for download progress, however.* in my previous comment. – Ken White Dec 03 '20 at 13:13

0 Answers0