• 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
NSPopUpButton with "multiple selection" state (like NSMixedState)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPopUpButton with "multiple selection" state (like NSMixedState)


  • Subject: NSPopUpButton with "multiple selection" state (like NSMixedState)
  • From: ALEXander <email@hidden>
  • Date: Fri, 24 Apr 2009 16:43:12 +0100

Hello,

I am looking for a possibility to display a NSMixedState for an NSPopUpButton (like it is used OmniGraffle):



I have some objects. Each object can be in one and only one group. There are multiple groups and objects. I want to assign the group to the objects via an NSPopUpButton.

Now when I select multiple objects from different groups, I want the NSPopUpButton to display a title like "Multiple selection". If the user then clicks on it, he or she can choose a new group for all the objects in the selection.



I did some websearching, but did not find anything. Any ideas? I would now try to subclass NSPopUpButton and implement an NSMixedState like there is for NSButton. But I am sure the subclass must be out there somewhere... (are you reading this OmniGroup? :)

Thanks, ALEXander.


_______________________________________________

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: NSPopUpButton with "multiple selection" state (like NSMixedState)
      • From: Jerry Krinock <email@hidden>
References: 
 >NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Stuart Malin <email@hidden>)
 >Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Corbin Dunn <email@hidden>)
 >Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Stuart Malin <email@hidden>)
 >Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Corbin Dunn <email@hidden>)
 >Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Stuart Malin <email@hidden>)
 >Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize
  • Next by Date: Re: How to clone a mutable dictionary
  • Previous by thread: Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize
  • Next by thread: Re: NSPopUpButton with "multiple selection" state (like NSMixedState)
  • Index(es):
    • Date
    • Thread