NSProgressIndicator
NSProgressIndicator
- Subject: NSProgressIndicator
- From: Livio Isaia <email@hidden>
- Date: Wed, 22 Apr 2009 22:09:55 +0200
I have a NSProgressIndicator that indicates the progress of a disk
saving job.
Initially it's hidden so:
[myIndicator setMaxValue:count];
[myIndicator setMinValue:0];
[myIndicator setDoubleValue:0];
[myIndicator setHidden:NO];
[myIndicator displayIfNeeded];
Then I do the job calling:
[myIndicator incrementBy:1];
[myIndicator displayIfNeeded];
And finally:
[myIndicator setHidden:YES];
[myIndicator displayIfNeeded];
[myIndicator setMaxValue:0];
[myIndicator setMinValue:0];
[myIndicator setDoubleValue:0];
The first time all works perfectly, but the second, when I reset the
indicator, no: the indicator is displayed but remains blank, that is it
doesn't show any progress. What's going wrong?
Thank you all in advance,
best regards,
livio.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden