Re: inactive menu item
Re: inactive menu item
- Subject: Re: inactive menu item
- From: "J.E. Schotsman" <email@hidden>
- Date: Wed, 24 May 2017 11:50:18 +0200
> On 24 May 2017, at 11:11, Jonathan Mitchell wrote:
>
>
>> On 24 May 2017, at 10:07, J.E. Schotsman <email@hidden> wrote:
>>
>> Hello,
>>
>> I have a popup button with a menu item that I have set disabled in the xib.
>> Every time the popup is enabled the item is enabled too!
>> Why isn’t the latent state of the item preserved?
>> I can solve the problem by binding the enabled state of the item to a value that is always false but this shouldn’t be necessary IMHO.
>>
>> Jan E.
>
> I imagine this is because in the nib auto enables state is on for the popup button menu.
> See the attributes inspector.
Thanks, that solves it.
The menu is a little hard to find in the nib.
Learn something new every day!
Jan E.
_______________________________________________
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