• 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: NSLevelIndicator - setEnabled not respected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLevelIndicator - setEnabled not respected


  • Subject: Re: NSLevelIndicator - setEnabled not respected
  • From: "Ken Ferry" <email@hidden>
  • Date: Tue, 30 Sep 2008 14:07:42 -0700

On Tue, Sep 30, 2008 at 1:16 PM, Ken Ferry <email@hidden> wrote:
> On Tue, Sep 30, 2008 at 8:57 AM, Benjamin Stiglitz <email@hidden> wrote:
>>> I've googled for over a week, and I can't find out what I'm missing here.
>>
>> See the AppKit release notes for 10.5 at
>> <http://developer.apple.com/releasenotes/Cocoa/AppKit.html>
>>
>> In short, the enabled property only works if you link your app against
>> 10.5+.
>>
>> -Ben
>
> Actually, it's the editable property that changed for 10.5, and now
> hopefully does what people expect.
>
> Disabling the level indicator should keep it from responding to mouse
> events, so I don't know what's wrong in Michael's case.

On second thought, Michael is only logging the enabled property at
awakeFromNib time.  It's probably being modified after that, perhaps
due to a bindings interaction.

Try binding the enabled property.

> Works fine
> for me.  (Though, if we didn't have binary compatibility to worry
> about, a disabled level indicator ought to be dimmed out, which is
> probably not what Michael wants.)
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSLevelIndicator - setEnabled not respected (From: Michael LaMorte <email@hidden>)
 >Re: NSLevelIndicator - setEnabled not respected (From: Benjamin Stiglitz <email@hidden>)
 >Re: NSLevelIndicator - setEnabled not respected (From: "Ken Ferry" <email@hidden>)

  • Prev by Date: Re: NSManagedObject subclass accessor pattern mystery?
  • Next by Date: Re: Release build wrong executable name, but debug build it correct
  • Previous by thread: Re: NSLevelIndicator - setEnabled not respected
  • Next by thread: sending email with attachement from cocoa
  • Index(es):
    • Date
    • Thread