Re: What to do?
Re: What to do?
- Subject: Re: What to do?
- From: Angela Brett <email@hidden>
- Date: Sat, 23 Feb 2002 21:34:36 +1300
I didn't see anyone else answer this, so here's a useful post to
balance out my last one:
At 3:53 PM +0100 22/2/2002, Lukasz Kuczborski wrote:
[progress setIndeterminate:YES];
[progress startAnimation:progress];
...
P.S. One more: How to implement here NSThred, so my progress indicator would
start spinning during the listing of files....cause now it doesn't..;(
You don't actually need to use an NSThread directly in this case -
just put [progress setUsesThreadedAnimation:YES]; near those other
lines of code which set up the progress indicator.
Also, I don't know if this actually makes any difference, but you
should probably pass self as the sender in startAnimation: since that
is the object which actually sent the message, progress didn't tell
itself to startAnimation.
--
Angela Brett email@hidden
http://acronyms.co.nz/angela
A mathematician is a machine for turning coffee into theorems -- Paul Erdos
_______________________________________________
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.
References: | |
| >What to do? (From: Lukasz Kuczborski <email@hidden>) |