• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do I use an NSProgressIndicator?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I use an NSProgressIndicator?


  • Subject: How do I use an NSProgressIndicator?
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Wed, 14 Jul 2004 12:08:24 +0100

Intuition isn't helping me here.

I have an expensive loop. I want every 2.5 seconds, for the progress bar to be updated, but not the visual display. So, every 2.5 seconds in the loop, I call this code:

[MyProgress setDoubleValue : Count];
[MyProgress displayIfNeeded];

And the result is this:

The progress bar is *not* updated, but the display is! It's reversed of how I'd expect it!

What am I doing wrong? Thanks for the answers so far!

--
Theodore H. Smith - Software Developer.
http://www.elfdata.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: How do I use an NSProgressIndicator?
      • From: Hiro Fujimoto <email@hidden>
  • Prev by Date: Re: Expose API ?
  • Next by Date: Re: Events by starting an application (better explained)
  • Previous by thread: Minize window in the menu bar
  • Next by thread: Re: How do I use an NSProgressIndicator?
  • Index(es):
    • Date
    • Thread