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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to