• 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: NSPopupUpButton not showing checked menu items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopupUpButton not showing checked menu items


  • Subject: Re: NSPopupUpButton not showing checked menu items
  • From: "Kyle Sluder" <email@hidden>
  • Date: Sat, 22 Nov 2008 21:38:08 -0500

On Sat, Nov 22, 2008 at 9:20 PM, Steve Christensen <email@hidden> wrote:
> In IB I created a NSPopUpButton configured as pulldown with a static menu. I
> bound its selectedTag binding to a method on my window controller. (I also
> tried binding selectedIndex with the same results.) When I run my code and
> select various of the items in the button's menu, none of the items are
> shown as checked. Or if one of the menu items was left "selected" in IB from
> when items were added to the menu, that item is permanently checked.

You bound "selectedTag" to a method?  Bindings are done to keypaths.
Of course, they key can be implemented using KVO-compliant accessor
and mutator methods -- is this how you have done it?

--Kyle Sluder
_______________________________________________

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: NSPopupUpButton not showing checked menu items
      • From: Steve Christensen <email@hidden>
References: 
 >NSPopupUpButton not showing checked menu items (From: Steve Christensen <email@hidden>)

  • Prev by Date: Facile Core Data Question
  • Next by Date: Re: How do I get a CGContextRef?
  • Previous by thread: NSPopupUpButton not showing checked menu items
  • Next by thread: Re: NSPopupUpButton not showing checked menu items
  • Index(es):
    • Date
    • Thread