Re: Progress Indicator problem
Re: Progress Indicator problem
- Subject: Re: Progress Indicator problem
- From: Keith Renz <email@hidden>
- Date: Sat, 26 Oct 2002 11:11:43 -0400
That doesn't work either. According to the docs, startAnimation: is
only for an indeterminate progress indicator. (But maybe yours is first
indeterminate and then determinate, i.e. barber pole and then progress
bar.) Anyway, I think I'm doing it all right. Two strange things,
though, (1) other items, several text fields, are being updated (and
working) in the same loop using the display: method, and (2) when the
loop finishes, the progress indicator advances to max. This leads me to
believe I have some other problem in my code. What could be blocking a
progress indicator from advancing when the values are being set
correctly and display: is being called?
Thanks,
Keith
-----
On Saturday, October 26, 2002, at 12:36 AM, Scott Anguish wrote:
On Saturday, October 26, 2002, at 12:28 AM, Keith Renz wrote:
That's exactly what I'm doing and it's not working. After the loop
exits, it neatly goes to its max value.
Looking in the DFProgressPanel delete code in OpenUp, I'm doing this
[progressIndicator startAnimation:self];
and then
[progressIndicator setDoubleValue:val];
[progressIndicator displayIfNeeded];
and it seems to be working...
it's called from -deleteFiles: in ApplicationDelegate
maybe that'll help find the problem?
the source is available in softrak.. http://www.stepwise.com/Softrak
_______________________________________________
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.