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: Vince DeMarco <email@hidden>
- Date: Wed, 5 Feb 2003 16:38:49 -0800
On Wednesday, February 5, 2003, at 11:47 AM, Brock Brandenberg wrote:
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.
if you want this feature, please file a bug with Apple asking for it.
(i'd like this feature too)
vince
_______________________________________________
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.