Re: How to hide an NSTableView
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