Re: Cocoa re-enables menu item after I disable it
Re: Cocoa re-enables menu item after I disable it
- Subject: Re: Cocoa re-enables menu item after I disable it
- From: Jerry Krinock <email@hidden>
- Date: Mon, 16 Apr 2012 08:44:09 -0700
On 2012 Apr 16, at 07:02, Mike Abdullah wrote:
> Is there a good reason why you're not using automatic menu enabling?
Thank you Mike, that explains it. I *am* using Automatic Menu Enabling. Therefore, -[NSMenuItem setEnabled:] has no effect.
(More precisely, as I have found by debugging, it apparently does have an effect, but the effect is wiped out by Automatic Menu Enabling which re-sets it to enabled:YES before the menu is displayed.)
_______________________________________________
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