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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to