Re: Hide/Show an NSView???
Re: Hide/Show an NSView???
- Subject: Re: Hide/Show an NSView???
- From: "Tony S. Wu" <email@hidden>
- Date: Mon, 5 May 2003 07:00:39 -0700
Just use a NSTabView and switch back and forth.
Tony S. Wu
email@hidden
"The world doesn't give us hope - it gives us chance."
http://homepage.mac.com/tonyswu/tonyswu - My web page.
On Monday, May 5, 2003, at 05:57 AM, M. Uli Kusterer wrote:
Hi,
this is probably an FAQ), but for the life of me I can't find a way
to hide an NSView. I have a window containing an NSImageView and an
NSMovieView, and depending on what data I'm currently displaying, I
want to show either, but never both.
How can I do that? I tried setIsVisible, setVisible, show, hide,
showView, hideView, ... none of these are supported by NSView. And the
docs only mention isVisible, which tells me whether a view is
onscreen, not whether it's shown or hidden.
Am I just too sunburnt today, or is this hidden away too good?
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.
_______________________________________________
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.