Re: Dock NSMenuItem issues?
Re: Dock NSMenuItem issues?
- Subject: Re: Dock NSMenuItem issues?
- From: Esteban <email@hidden>
- Date: Sun, 5 May 2002 00:29:52 -0700
Make sure you are calling both setAction and setTarget. If the current
target for the NSMenuItem is nil, then it will be dimmed, so its
important to set the target the action will be executed from with
setTarget.
-Esteban
On Saturday, May 4, 2002, at 11:06 PM, email@hidden wrote:
I'm trying to add some dynamic dock menu functionality to an app I'm
working on and I keep getting gray-out NSMenuItem. I want to add an
Action to these menu items but since they are gray-out they aren't
selectable. Any suggestions on what I'm doing wrong when creating my
dynamic NSMenuItem?
Pete
_______________________________________________
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.
_______________________________________________
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.