• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disabled PopUpButton With Action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Disabled PopUpButton With Action
      • From: "Jason Barker" <email@hidden>
References: 
 >Disabled PopUpButton With Action (From: "Jason Barker" <email@hidden>)

  • Prev by Date: Re: Binding NSTreeController to NSBrowser
  • Next by Date: HeaderDoc style for getter/setter pairs
  • Previous by thread: Disabled PopUpButton With Action
  • Next by thread: Re: Disabled PopUpButton With Action
  • Index(es):
    • Date
    • Thread