Re: NSProgressIndicator not updating
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.