Thread View: borland.public.delphi.vcl.components.using.general
2 messages
2 total messages
Started by Bill Miller
Fri, 13 Jun 2008 20:25
TAnimate fails in Delphi 2007 Win 32
Author: Bill Miller
Date: Fri, 13 Jun 2008 20:25
Date: Fri, 13 Jun 2008 20:25
10 lines
1490 bytes
1490 bytes
TAnimate fails in Delphi 2007 Win 32. The CommonAVI aviFindFolder is shown in the ide in the control but when the app is run and TAnimate.Active is set to true it does not play? I seem to remember that the common avi files are in a different unit than with previous version of Delphi, but I can not find where. Regards, Bill
Re: TAnimate fails in Delphi 2007 Win 32
Author: Peter Below (TeamB)
Date: Sat, 14 Jun 2008 08:39
Date: Sat, 14 Jun 2008 08:39
28 lines
2022 bytes
2022 bytes
Bill Miller wrote: > TAnimate fails in Delphi 2007 Win 32. > > The CommonAVI aviFindFolder is shown in the ide in the control but > when the app is run and TAnimate.Active is set to true it does not > play? I seem to remember that the common avi files are in a > different unit than with previous version of Delphi, but I can not > find where. The common AVIs are not present on Vista, MS simply removed them for some reason. D2007 comes with a component named TShellResources (Win32 tab of the tool palette). If you add one (and only one!) to your project, e.g. on the main form, the AVIs will get included as resources with the program. There is a second problem: if your program uses the theme support the animation common control will no longer run the animations in a secondary thread. That means that the animation will not run if your main thread is busy working away in some lengthy code loop without processing messages. -- Peter Below (TeamB) Don't be a vampire (http://slash7.com/pages/vampires), use the newsgroup archives : http://www.tamaracka.com/search.htm http://groups.google.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads