• 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: Hiding Controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding Controls


  • Subject: Re: Hiding Controls
  • From: Esteban <email@hidden>
  • Date: Thu, 28 Feb 2002 21:47:14 -0800

If you look at some subclasses of NSControl like NSButton, you'll see you can set the Button to be transparent. To really make it inactive and hide it, you would need to use the method setTransparent and setEnabled both to Yes

I guess that makes sense for setTransparent to be in NSButton since pretty much its a catch all for check boxes, radio buttons, push buttons, etc. But I guess there's some subclasses of NSControl that must not be hidden??

Anyone know why that is? For example NSColorWell has no setTransparent.
-Esteban

On Thursday, February 28, 2002, at 09:27 PM, John Pattenden wrote:

is there a method to hide controls in dialog boxes? I have text fields and checkboxes that I want to hide sometimes.. I looked in NSControl but didn't see a show/hide or visible method.

TIA




John Pattenden
ScreenTime Media

http://www.screentime.com
_______________________________________________
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: 
 >Hiding Controls (From: John Pattenden <email@hidden>)

  • Prev by Date: Hiding Controls
  • Next by Date: re Hiding controls and another question
  • Previous by thread: Hiding Controls
  • Next by thread: re Hiding controls and another question
  • Index(es):
    • Date
    • Thread