• 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: Stéphane Sudre <email@hidden>
  • Date: Wed, 13 Aug 2003 14:54:44 +0200

Le mercredi, 13 ao{ 2003, ` 14:47 Europe/Paris, Andreas Nfsby Rasmussen a icrit :

Hi,
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?

Maybe you just forget to link the widget to the controller outlet.
_______________________________________________
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: NSProgressIndicator not updating
  • Next by Date: Backwards compatibility
  • Previous by thread: NSProgressIndicator not updating
  • Next by thread: Re: NSProgressIndicator not updating
  • Index(es):
    • Date
    • Thread