Re: Problem with validateMenuItem and a Modal Dialog, maybe a bug in Cocoa...
Re: Problem with validateMenuItem and a Modal Dialog, maybe a bug in Cocoa...
- Subject: Re: Problem with validateMenuItem and a Modal Dialog, maybe a bug in Cocoa...
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 22 Jan 2003 15:54:35 +0100
Make sure the NSMenu in question is set up to autoenable items (i.e.
either in IB, or by calling [menu setAutoenablesItems: YES]
The NSMenu is set to autoenable.
When I turn autoenable items off, the menu items are drawn enabled but
the action is not sent. Yet the link is there, the target is there, the
action is there.
I'm beginning to wonder if it's not a bug in Cocoa related to the fact
that the controller is the first owner of the nib which is a secondary
nib. But it would not explain why the target-action are working for
other widgets of the nib.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.