Re: Disabled PopUpButton With Action
Re: Disabled PopUpButton With Action
- Subject: Re: Disabled PopUpButton With Action
- From: Jerry Krinock <email@hidden>
- Date: Fri, 21 Dec 2007 21:10:36 -0800
On 2007 Dec, 21, at 16:47, Jason Barker wrote:
I have placed a NSPopUpButton on a window and connected it to an
action in
the instance of my AppController in Interface Builder (v 2.5.3 in
Tiger).
When I run my application, the popup menu will display the list of
items but
every one of them is disabled. There has got to be something simple
that I
am missing. Can someone tell me what I am doing wrong?
I vaguely remember having a problem like this once, and possibly the
cause was an object implementing -validateMenuItem: and returning NO
for unknown items.
But I can't find any such comments in my code, so I'm not sure. Read
this document:
Guides > Cocoa > User Experience > Application Menu and Pop-up List
Programming Topics for Cocoa > Enabling Menu Items
_______________________________________________
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