• 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: How do I distinguish between radio and switch buttons?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I distinguish between radio and switch buttons?


  • Subject: Re: How do I distinguish between radio and switch buttons?
  • From: Erik Buck <email@hidden>
  • Date: Thu, 7 Dec 2006 14:20:38 -0800 (PST)

It is not a property of a button that makes it a radio button.  It is a property of the enclosing NSMatrix that defined whether a button is a radio button or not.

  If you want to know whether a button cell LOOKs like a radio button, just determine if its icon is the icon used to indicate radio buttons.  However, absolutely any button cell can be a radio button cell just by virtue of being in an NSMatrix that uses radio selection mode.  It ultimately doesn't matter what the button looks like.  Appearance and function are totally separate except that users are confused if you make a button cell look like a radio button and then don't put the cell in a matrix that uses radio selection mode.

  It sounds like you want to change the appearance of all button cells that use the radio button icons.  If so, just change the icons used by such cells.

  The set defines as all non-radio buttons includes every button because there is no such thing as a radio button.  Mutually exclusive selection is a property of a matrix, not a button.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Prev by Date: Re: WebKit if-modified
  • Next by Date: Re: Core Data, using refreshObject:mergeChanges: to trim a portion of my object graph and regain memory... PLEASE HELP!!!!!!!
  • Previous by thread: Re: Re: How do I distinguish between radio and switch buttons?
  • Next by thread: Quick NSTableView question...
  • Index(es):
    • Date
    • Thread