• 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: How to hide an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to hide an NSTableView


  • Subject: Re: How to hide an NSTableView
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 26 Jun 2006 12:14:00 +0200

Am 23.06.2006 um 04:55 schrieb Macintosh Developer:
I'm sure this has been asked before, but is there a way to make an NSTableView "hidden" as in completely invisible?

I've tried hiding the superview (i.e. the NSScrollView) but that doesn't seem to work.

Never heard that setHidden: on the -enclosingScrollView didn't work. Are you sure you got the right superview? You may want to NSLog () it to see what it is. I have to admit I never had to use setHidden: on a table yet, though.


Anyway, in case that really doesn't work, you could always embed the table view in a tabless, borderless tab view that has it on one tab, and nothing on the other, and then programmatically switch tabs. That's how it was done in Mac OS X versions before setHidden: was available.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How to hide an NSTableView (From: Macintosh Developer <email@hidden>)

  • Prev by Date: Re: Off-Topic: Communicating with users
  • Next by Date: Re: Nib files in memory
  • Previous by thread: How to hide an NSTableView
  • Next by thread: encoding/decoding mutable array
  • Index(es):
    • Date
    • Thread