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: Aki Inoue <email@hidden>
- Date: Tue, 5 Jun 2001 02:12:51 -0700
Ah, for that matter, NSProgressIndicator represents the active state
with the animation & inactive state without it. I believe that's the
purpose of this control.
it could be greyed out (as per my question) or it could disappear all
together.
The common way is to remove the indicator from the window altogether
(i.e. Project Builder).
i can't work out how to do either of these easily.
Hmmm. I'd like to know what's blocking you from removing it from the
window. -addSubview: & removeFromSuperview should work in these cases.
I'd like to hear your comments so that I can incorporate them into
future enhancements.
incidentally, the processing happens asynchronously in a subthread and
is interruptable, so the automatic polychrome wheel of the appkit can
never appear (and is unsuitable).
This is exactly what NSProgressIndicator is designed to address. I
don't understand why the animation is not suitable. Could you
elaborate ?
Aki
On 2001.06.05, at 00:52, Nick Emery wrote:
ok,
i have a main window with some buttons in it. some of these buttons
cause some processing that takes a considerable indeterminate time. i
would like to display an NSProgressIndicator in the bottom right hand
corner of the main window to indicate that one of these long operations
is being performed. when no activity is being performed, i would like
the progress indicator to be less eye catching. it could be greyed out
(as per my question) or it could disappear all together. i can't work
out how to do either of these easily.
incidentally, the processing happens asynchronously in a subthread and
is interruptable, so the automatic polychrome wheel of the appkit can
never appear (and is unsuitable).
--nikki