Frans Whyburd wrote:
My other solution was to place the loop/process in a separate thread,
allowing the animation to run uniterrupted in the main thread. this works fine but the only problem with that solution is that if the
loop/process crashes i don't get a error message or an exception.

Why don't you? If a problem occurs in the thread, then you should get an exception. That exception might even get transfered into your VCL thread for you, if you have the right Delphi version. Even if it doesn't, you're free to catch the exception yourself and notify the main thread.

So i then deceide to create the Tanimate inside a seperate thread and
let it animate from there, but i was not very succefull with that.

No, I wouldn't expect sucess in that. VCL controls don't work well in separate threads.

I also tried disableing XP themeing for the Tanimate but that does
not work.

I was under the impression that TAnimate can't be themed anyway because of the complications from transparency.

--
Rob

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to