Re: NSProgressIndicator won't disappear!
Re: NSProgressIndicator won't disappear!
- Subject: Re: NSProgressIndicator won't disappear!
- From: Wesley Miaw <email@hidden>
- Date: Fri, 11 Apr 2003 17:28:10 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Huh. Well, I was trying the same thing. But your comment that redrawing
the entire window forces the NSProgressIndicator to disappear means
that [[progress superview] setNeedsDisplay:YES] might be the solution.
I've been manually removing it and putting it back into the superview.
On Friday, April 11, 2003, at 04:42 PM,
email@hidden wrote:
I have the same problem, when my app is running.
When I'm done processing, I do:
myProgress.setIndeterminate(true);
myProgress.stopAnimation(this);
myProgress.setDisplayedWhenStopped(false);
myProgress.setNeedsDisplay(true);
To try to force it to disappear. I've tried a variety of combinations
of this sequence. (myProgress starts intermediate, then goes to a
progress bar style until the process is finished. Then I want it to
disappear.)
The indicator is always visible during this opersation (but it is in a
tab item). IF you click to another application and then back, or
resize the window, it will then disappear-- but needsDisplay isn't
causing it go away.
IS there some method to call to force the redraw other than
needsDisplay? When the window redraws from other means, it does go
away....
- --
Wesley Miaw, Wesley Miaw Consulting
http://www.wesman.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)
iD8DBQE+lzNuQv4agqRAk2kRAuRHAJ9vToz4evw67sgR17oq7yNXuLZVxgCeNsuA
rs3x+RDIq5ThK5GRnPVQF2c=
=jBRw
-----END PGP SIGNATURE-----
_______________________________________________
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.