• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to hide NSButton?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >How to hide NSButton? (From: "shyam" <email@hidden>)

  • Prev by Date: Re: Why multi-threading ?
  • Next by Date: Re: Saving a chain of custom objects as plist
  • Previous by thread: Re: How to hide NSButton?
  • Next by thread: Re: Saving a chain of custom objects as plist
  • Index(es):
    • Date
    • Thread