• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re(2): making NSProgressIndicator hidden
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Re(2): making NSProgressIndicator hidden
      • From: "Erik M. Buck" <email@hidden>
References: 
 >Re: making NSProgressIndicator hidden (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: System Preferences doesn't wrap long name (Workaround)
  • Next by Date: Re: making NSProgressIndicator hidden
  • Previous by thread: Re: making NSProgressIndicator hidden
  • Next by thread: Re: Re(2): making NSProgressIndicator hidden
  • Index(es):
    • Date
    • Thread