Re: NSProgressIndicator won't disappear!
Re: NSProgressIndicator won't disappear!
- Subject: Re: NSProgressIndicator won't disappear!
- From: Ricci Adams <email@hidden>
- Date: Wed, 9 Apr 2003 16:50:48 -0500
Thanks for the reply,
I'm using "new-style" nib files, and I checked and made sure that
displayWhenStopped is properly set at NO.
The weird thing is this:
Say I'm on Tab #3 and I send startAnimation: to the Tab #3 progress
indicator. As long as I stay on Tab #3 and not switch, the progress
indicator will disappear correctly during stopAnimation:.
However, if I am on Tab #3 and I send startAnimation: to the Tab #2
progress indicator, wait for the task to finish, then switch over to
Tab #2, the progress indicator will be visible (and stopped).
I have tried using NSTabView's tabView:didSelectTabViewItem: delegate
method to "force" the progress indicators to disappear. Alas, nothing
is working :(
Oh, quick question. What's this about "new-style" nib files being
buggy?
Ricci Adams
On Wednesday, April 9, 2003, at 12:48 AM, j o a r wrote:
Do you set the "displayWhenStopped:" property in IB or in code?
If you use "old-style" nib files this property will not be saved /
restored at all. It might be good to set it in "awakeFromNib", or at
least check that it is properly set.
Since "new-style" nib files are buggy I think I recall that the
official recomendation is to set this property (as well as the "style"
property) in awakeFromNib.
j o a r
On Wednesday, Apr 9, 2003, at 06:02 Europe/Stockholm, Ricci Adams
wrote:
Here is my dilemma. I have an NSTabView control with five tabs - on
each is an NSProgressIndicator. Said progress indicators are set to
the spinning style and setDisplayedWhenStopped:NO.
Unfortunately, if I programmatically start one of the progress
indicators on a different tab than my current one, then stop it, then
flip over to that tab - it is both visible and stopped. Because of
the setDisplayedWhenStopped:NO, it *should* disappear; alas, it does
not.
Has anybody encountered this problem before? Does anybody know a
work-around?
Hopefully, you understand what I am trying to say. Programming in
Obj-C all day and then trying to switch back to English is a bit
difficult ;)
_______________________________________________
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.