Re: how to disable an indeterminate progress bar?
Re: how to disable an indeterminate progress bar?
- Subject: Re: how to disable an indeterminate progress bar?
- From: Scott <email@hidden>
- Date: Tue, 05 Jun 2001 11:27:24 -0700
On 6/5/01 2:55 AM, "Nick Emery" <email@hidden> wrote:
>
well, the animation is fine while the processing is active. however, in my
>
opinion, the indicator is too eye catching when the process in inactive and
>
the animation is not playing. This is because most of the window is various
>
shaded of grey except for the important controls which are blue. to have the
>
idle progress bar also blue leads you to believe that it is an important
>
control...
>
>
--nikki
I agree with you that it would be too catching to the eye, but I don't think
removing it from the screen is a good idea. Hiding things from users
confuses them. I think your idea of "disabling" the control is best. This
was done in OS9 a lot (which has a much better UI IMHO).
If worse comes to worse, you could create a picture of the bar with a gray
appearance in Photoshop or something and replace the control with the
picture when it's not in use.
As for switching from one view to another, I would try one of two things.
Either have an NSView in your window that "contains" both the bar and the
gray picture of the bar (as subviews) and reorder them depending on which
you want displayed. Only the one on "top" should appear.
Or, have the gray picture in the window but off screen and swap it with the
bar view when you need it.
That way you're not having to remove a view and then re-add it later. It
never disappears.
Since I'm also new to Cocoa, I don't have any idea if any of that would work
-- it's only theory at this point. Maybe Aki can illuminate if it would
work.
Just an idea..
Scott
------
"...there's no such thing as a plain name..."
http://www.domainjane.com