• 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: NSButton on/off behaviour, with a blue (not grey) highlight?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton on/off behaviour, with a blue (not grey) highlight?


  • Subject: Re: NSButton on/off behaviour, with a blue (not grey) highlight?
  • From: Shawn Erickson <email@hidden>
  • Date: Thu, 26 May 2005 17:04:19 -0700


On May 26, 2005, at 4:17 PM, Theodore H. Smith wrote:

I want to make an NSButton with on/off behaivour, with a blue (not grey) highlight. How do I do this? When I try, it has a grey highlight, which is not what I want.

The blue highlighting is reserved for the default button, one that will be pushed in response to the user hitting the return key. To do that in IB simply set the buttons key equivalent to "Return" using the popup menu (or type in \R into the key equivalent field).

I just want to make the button look like a normal square button being pushed down.

On Mac OS X "normal" buttons are generally the rounded type ("push button"). If you want a square one then in IB set the buttons type to "square button".

Review the following for the recommended usages for the various standard button types...

<http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGControls/chapter_18_section_2.html#//apple_ref/doc/uid/20000957-TP30000359-TPXREF186>

-Shawn

 _______________________________________________
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: 
 >NSButton on/off behaviour, with a blue (not grey) highlight? (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: NSTextView insertText & undo
  • Next by Date: Re: NSSplitView and subviews, awkward?
  • Previous by thread: NSButton on/off behaviour, with a blue (not grey) highlight?
  • Next by thread: items on a tabview that stay through all tabs
  • Index(es):
    • Date
    • Thread