On Aug 15, 2009, at 6:04 PM, Thomas Bauer <t...@freeridecoding.com> wrote:


Further to my below question I found out that the problem is related to what is triggering the code that starts the animation: If the code that starts the NSAnimation and the NSProgressIndicator animation is called in an IBAction called by a button on a different window,
the NSProgressIndicator animation does not start.

Try scheduling a delayed perform in a normal runloop mode. The button is probably implementing its own runloop (one of the two ways controls perform mouse tracking). You need to break out of this runloop mode, and peformSelector:onMainThread: will do it.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to