Re: Spinning Progress Indicators Always Display on Startup?
Re: Spinning Progress Indicators Always Display on Startup?
- Subject: Re: Spinning Progress Indicators Always Display on Startup?
- From: matt neuburg <email@hidden>
- Date: Sun, 22 Dec 2002 08:27:15 -0800
On Sat, 21 Dec 2002 14:00:44 -0800, Simone Manganelli <email@hidden> said:
>
I'm adding spinning progress indicators to my project. Here's the
>
problem (it's pretty simple compared to other ones I've had :) ). I've
>
added the progress indicator to my windows in my .nib file, and added
>
outlets to them from an instantiated class of mine. I've set them to
>
not display when stopped via the nib file. However, whenever my
>
program starts up, they are shown. Only when I press the button that
>
tells them to start and later stop do they disappear. I've tried to
>
add some code to the awakeFromNib subroutine to simply start and stop
>
them before the window is displayed so they won't show up, but it still
>
doesn't work; they show up anyway.
>
>
It's also weird, because in the awakeFromNib subroutine, I've tried
>
telling the progress indicators to simply start and not stop, but they
>
still appear stopped when the windows are displayed, indicating that
>
maybe spinning progress indicators do not respond to code in the
>
awakeFromNib subroutine.
>
>
Any ideas on how to fix this problem?
10.2-style nibs are basically hosed. Resave your nibs as 10.1-style nibs, change the progress indicators (in IB) to non-spinning style, and turn them to spinning down-show-when-stopped style progress indicators in awakeFromNib. m.
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.