Re(2): making NSProgressIndicator hidden
Re(2): making NSProgressIndicator hidden
- Subject: Re(2): making NSProgressIndicator hidden
- From: Jens Bauer <email@hidden>
- Date: Mon, 21 Jan 2002 13:42:26 +0100
Hi Stiphane,
On Mon, 21 Jan, 2002, Stiphane Sudre <email@hidden> wrote:
>
On Sunday, January 20, 2002, at 05:22 PM, Jody Fairchild wrote:
>
>
> i have an NSProgressIndicator in a window created in ib as a placeholder.
>
> trouble is, i don't want it to show until i'm ready for it ...
>
> how does one go about hiding/showing such a control programatically?
>
>
How are you hiding your NSButton? I fear some manipulations on the
>
NSButton attributes...
I had the very same problem. I used (for the buttons) the transparant flag.
>
One solution for hiding/showing widgets:
>
>
Hiding:
>
>
[myOutlet retain];
>
[myOutlet removeFromSuperview];
>
>
Showing:
>
>
[superview addSubview:myOutlet];
>
[myOutlet release];
Is this what I should do for all controls ?
(I believe it is, but I just want it confirmed.)
Love,
Jens
--
Jens Bauer, Faster Software.