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