• 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: NSProgressIndicator not updating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSProgressIndicator not updating


  • Subject: Re: NSProgressIndicator not updating
  • From: j o a r <email@hidden>
  • Date: Wed, 13 Aug 2003 15:45:28 +0200

Are you running a long synchronous operation AND are you also at this time resizing the window that the progress indicator is in using an animated resize?

j o a r

On den 13 augusti 2003, at 14:47:43PM, Andreas Nfsby Rasmussen wrote:

This time I'm having problems with a progress indicator not updating. I've checked the archives, and therefore tried both [progress setNeedsDisplay] and [progress display].

The funny thing is, when I NSLog(@"progress: %.0f", [progress doubleValue]); it outputs the value it's supposed to, but it's never updated graphically. A texfield next to updates for each value, so it's quite a mystery.

I've also tried this technique in a "skeleton app" where it functions. :-|

- (void)setProgress:(double)progressDouble
{
NSLog(@"setProgress:%.0f", progressDouble);
[progress setDoubleValue:progressDouble];
NSLog(@"progress: %.0f", [progress doubleValue]);
[progress setNeedsDisplay:TRUE];
}

What am I missing?
_______________________________________________
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: 
 >NSProgressIndicator not updating (From: Andreas Næsby Rasmussen <email@hidden>)

  • Prev by Date: Backwards compatibility
  • Next by Date: Re: Localized Folders
  • Previous by thread: Re: NSProgressIndicator not updating
  • Next by thread: Re: NSProgressIndicator not updating
  • Index(es):
    • Date
    • Thread