Re: Hiding Controls
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.