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

NSProgressIndicator not updating


  • Subject: NSProgressIndicator not updating
  • From: Andreas Næsby Rasmussen <email@hidden>
  • Date: Wed, 13 Aug 2003 14:47:43 +0200

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?

anr
_______________________________________________
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: NSProgressIndicator not updating
      • From: MacInsight <email@hidden>
    • Re: NSProgressIndicator not updating
      • From: j o a r <email@hidden>
    • Re: NSProgressIndicator not updating
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: Tons of fun w/NSComboBox
  • Next by Date: Re: NSProgressIndicator not updating
  • Previous by thread: Re: scribbling
  • Next by thread: Re: NSProgressIndicator not updating
  • Index(es):
    • Date
    • Thread