• 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: Missing inactive and disabled states on some controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Missing inactive and disabled states on some controls (From: Brock Brandenberg <email@hidden>)

  • Prev by Date: Bug in TextSizingExample
  • Next by Date: Re: NSWorkspaceDidTerminateApplicationNotification and background app
  • Previous by thread: Re: Missing inactive and disabled states on some controls
  • Next by thread: Re: Missing inactive and disabled states on some controls
  • Index(es):
    • Date
    • Thread