NSPopUpButton with "multiple selection" state (like NSMixedState)
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