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

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


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>)
 >NSPopUpButton with "multiple selection" state (like NSMixedState) (From: ALEXander <email@hidden>)
 >Re: NSPopUpButton with "multiple selection" state (like NSMixedState) (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: NSPopUpButton with "multiple selection" state (like NSMixedState)
  • Next by Date: Re: How to clone a mutable dictionary
  • Previous by thread: Re: NSPopUpButton with "multiple selection" state (like NSMixedState)
  • Next by thread: custom field editor results in no focus ring
  • Index(es):
    • Date
    • Thread