Re: Missing inactive and disabled states on some controls
Re: Missing inactive and disabled states on some controls
- Subject: Re: Missing inactive and disabled states on some controls
- From: Brock Brandenberg <email@hidden>
- Date: Wed, 05 Feb 2003 13:47:34 -0600
Hi Justin.
>
isEnabled and setEnabled are methods of NSControl, which NSTableView
>
and NSBrowser inherit from, so you can use these methods for them. I'm
>
not sure about NSBox though.
Yes, setEnabled: is present for the control subclasses, but it does nothing.
You must override it and implement your own behavior. They do not have a
behavior by default from Apple. While it was determined by Apple to be
acceptable in Cocoa, I find it odd that they don't have a default
implementation and am simply looking for a simple explanation since the
HIToolbox has implemented these behaviors for all of its controls.
Brock
----- industrial design @ www.bergdesign.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.