Re: How can I hide a button on 10.2.X platforms
Re: How can I hide a button on 10.2.X platforms
- Subject: Re: How can I hide a button on 10.2.X platforms
- From: Gregory Weston <email@hidden>
- Date: Fri, 11 Feb 2005 07:41:06 -0500
The "how" is that you keep a reference to it, retain it and remove it
from its superview.
But at least as important as the technique of hiding a button is the
question of whether you should. If you're taking away the button
because some transient condition that isn't part of the normal UI (like
a tabbed interface) indicates that it's not valid right now but it
could be while the window remains open, hiding it is almost always the
wrong thing to do.
_______________________________________________
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