• 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: Hiding an NSControl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding an NSControl


  • Subject: Re: Hiding an NSControl
  • From: "Alastair J.Houghton" <email@hidden>
  • Date: Wed, 3 Sep 2003 23:57:16 +0100

On Wednesday, September 3, 2003, at 10:50 pm, John Stiles wrote:

I'm a bit of a neophyte when it comes to Cocoa, so please bear with me. I've been writing a Cocoa app for the last two months, and usually a few good books and developer.apple.com are good enough to answer any questions I have, but this one has me and a coworker both stumped.

What's the easiest way to hide an NSControl?

The usual answer is to remove it from its superview. However, you should seriously consider whether you should be hiding a control in the first place... users often find user-interface elements that vanish confusing; especially if it isn't obvious how to get them back again. (I had an experience exactly like this the other day with Apple's Shark tool... I lost the PPC970 instruction group display ;-) [found it again now, though].)

Kind regards,

Alastair.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Hiding an NSControl
      • From: Bill Cheeseman <email@hidden>
    • Re: Hiding an NSControl
      • From: John Stiles <email@hidden>
References: 
 >Hiding an NSControl (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Scroll position of a NSTextView
  • Next by Date: Re: Hiding an NSControl
  • Previous by thread: Hiding an NSControl
  • Next by thread: Re: Hiding an NSControl
  • Index(es):
    • Date
    • Thread