Re: How to hide NSButton?
Re: How to hide NSButton?
- Subject: Re: How to hide NSButton?
- From: Greg Hulands <email@hidden>
- Date: Tue, 27 May 2003 21:38:18 +1000
What you are looking for is in NSView - removeFromSuperview. Make sure
you retain the button before removing it as NSView will release it.
This is a better way than making it transparent.
HTH,
Greg
On Tuesday, May 27, 2003, at 07:57 PM, shyam wrote:
Hi,
Can anybody tell me how to hide a NSButton in Cocoa/Objective-C
application? I
have seen method to enable/disable (setEnabled) a button, but could
not find
anything to hide a button.
TIA,
Shyam
_______________________________________________
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.