Re: NSPopUpButton with "multiple selection" state (like NSMixedState)
Re: NSPopUpButton with "multiple selection" state (like NSMixedState)
- Subject: Re: NSPopUpButton with "multiple selection" state (like NSMixedState)
- From: ALEXander <email@hidden>
- Date: Fri, 24 Apr 2009 17:49:29 +0100
If you pasted an image in there, it did not make it through the
email server. (Interesting, because I have seen small images make
it through in the past.)
No, that was just a big white space to keep text and context apart :)
Anyhow, I believe you want a popup menu which shows a constant
"title" instead of showing the selected item. Such a control is
actually a popup menu which has been set to "pull down"
No, because the control will just be a normal popup for selecting a
group if only one object is selected. It is never possible to actually
select multiple groups. But the case can happen that the user selectes
multiple objects with different groups. It like a three-state
checkbox, essentially.
Best, ALEXander.
On 24.04.2009, at 17:34, Jerry Krinock wrote:
On 2009 Apr 24, at 08:43, ALEXander wrote:
I am looking for a possibility to display a NSMixedState for an
NSPopUpButton (like it is used OmniGraffle):
If you pasted an image in there, it did not make it through the
email server. (Interesting, because I have seen small images make
it through in the past.)
Anyhow, I believe you want a popup menu which shows a constant
"title" instead of showing the selected item. Such a control is
actually a popup menu which has been set to "pull down"
http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/Articles/HowMenusWork.html
Read the section "Pop-Up Buttons and Pull-Down Lists".
Send -setPullsDown: to make a popp button have the pulldown behavior.
_______________________________________________
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
_______________________________________________
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