• 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
Re: How do I use an NSProgressIndicator?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I use an NSProgressIndicator?


  • Subject: Re: How do I use an NSProgressIndicator?
  • From: Hiro Fujimoto <email@hidden>
  • Date: Wed, 14 Jul 2004 23:56:10 +0900

Hi, Theodore,

I guess you need to send the indicator 'setNeedsDisplay' message.

Try it.

--

On 2004/07/14, at 20:08, Theodore H. Smith wrote:

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.


------------------------------------------------------------------------ ---------
hiro FUJIMOTO - developer in Japan.
_______________________________________________
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.


References: 
 >How do I use an NSProgressIndicator? (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Any Cocoa/Obj-c Report Engines?
  • Next by Date: Strange compile error
  • Previous by thread: How do I use an NSProgressIndicator?
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread