Re: NSMenuItem - setHidden
Re: NSMenuItem - setHidden
- Subject: Re: NSMenuItem - setHidden
- From: Stuart Green <email@hidden>
- Date: Sat, 23 Aug 2008 09:52:38 +0100
So I could use this method to enable/disable the menu item rather than
hide it? That may look a bit more pleasing to the user.
Will give it a go.
Thanks.
Regards,
Stuart
Sent from my iPhone
On 23 Aug 2008, at 02:53, Jonathan Hess <email@hidden> wrote:
On Aug 22, 2008, at 6:15 PM, Graham Cox wrote:
On 23 Aug 2008, at 5:30 am, chaitanya pandit wrote:
[itemToBeHidden setAutoEnablesItems:NO];
Don't call setAutoEnblesItems on the item you want to hide
(NSMenuItem) call it on the menu to which the item belongs (or is
gonna get added- NSMenu class)
-setAutoEnablesItems: doesn't affect visible/hidden, it affects
checked/unchecked. So it's unlikely to bear on this problem.
I think you meant enabled/disabled, instead of checked/unchecked.
Jon Hess
hth,
Graham
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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