Re: Enabling menu items?
Re: Enabling menu items?
- Subject: Re: Enabling menu items?
- From: António Nunes <email@hidden>
- Date: Wed, 25 Jul 2007 12:52:45 +0100
On 25 Jul 2007, at 09:47, Kai-Mikael Jää-Aro wrote:
- (BOOL)validateUserInterfaceItem:(id
<NSValidatedUserInterfaceItem>)anItem {
[...]
But, in spite of all this, all items in the Edit menu are disabled
when running the program. What have I forgotten to add to this?
To validate menu items use this instead:
- (BOOL)validateMenuItem:(id <NSMenuItem>)menuItem
-António
----------------------------------------------------
There is a world of difference between
searching for happiness and choosing
to be happy.
----------------------------------------------------
_______________________________________________
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