• 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: Not Enabled != Gray ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not Enabled != Gray ?


  • Subject: Re: Not Enabled != Gray ?
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 26 Jun 2006 11:41:34 +0200

Am 26.06.2006 um 06:37 schrieb Neto:
Is it possible to have an NSButton Radion Button not enable to the user clicks but also not grayed out?

Why would you do that? The whole point of disabling is to not only not react to clicks, but to make sure the user knows it isn't clickable. Not reacting to clicks but still looking enabled would only confuse users who think it's a working radio button and click it just to find nothing happening.


If you want a radio button, stick with Apple's provided behaviours. The whole point of a library like Cocoa's AppKit is that you get both correct looks and behaviour the way your users are used to it.

If you just want a rounded bullet with a label or something like that, create your own graphics and use a custom view (or use an NSTextView with an image in an attributed string, or an NSImageView and an NSTextField), so the users will see by the way how different your graphics look that this isn't a radio button.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Not Enabled != Gray ? (From: Neto <email@hidden>)

  • Prev by Date: Re: NSImage bug? NEF Files.
  • Next by Date: Re: If Functions
  • Previous by thread: Not Enabled != Gray ?
  • Next by thread: Newbie question with animations
  • Index(es):
    • Date
    • Thread