Re: Hiding a view
Re: Hiding a view
- Subject: Re: Hiding a view
- From: Eric Peyton <email@hidden>
- Date: Thu, 25 Oct 2001 08:51:30 -0500
You need to removeFromSuperview:
Or you can overwrite drawRect: on the view and have it do nothing ...
Eric
On Thursday, October 25, 2001, at 02:17 AM, Dustin Mierau wrote:
Hey,
This is probably a stupid question, how do I hide a subview? I can't
actually find a method to "hide" an NSVIew.
The only way I can find to actually do this is by removing the subview
from it's super, but I would rather just disable an NSView from drawing.
Thanks,
-Dustin
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev