> On 24 May 2017, at 11:11, Jonathan Mitchell wrote:
> 
> 
>> On 24 May 2017, at 10:07, J.E. Schotsman <jesc...@xs4all.nl> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to