Re: NSLevelIndicator - setEnabled not respected
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