• 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: menu with checkbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: menu with checkbox


  • Subject: Re: menu with checkbox
  • From: Andrew Farmer <email@hidden>
  • Date: Wed, 10 Sep 2008 11:41:59 -0700

On 10 Sep 08, at 08:20, Georg Seifert wrote:
I have a NSPopupButton. What I need is that each item has a checkbox in front of its label. The menu needs to be selectable like with any normal NSPupupButton but when I click the checkbox it should just check the box but should not change the selection.

This sounds like a really nonintuitive UI. A lot of users manipulate menus by clicking and dragging, so releasing the mouse to click a checkbox would dismiss the menu.


Is there any reason you don't want to simply check/uncheck items in the menu? This is a much more common interface paradigm which users which will be much more familiar with. See NSMenuItem's setState: method for how to do this.
_______________________________________________


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: 
 >menu with checkbox (From: Georg Seifert <email@hidden>)

  • Prev by Date: Re: HTTP chunked transfer encoding implementation
  • Next by Date: Re: NSTimer retain and release questions
  • Previous by thread: Re: menu with checkbox
  • Next by thread: Re: menu with checkbox
  • Index(es):
    • Date
    • Thread