• 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: quirky default button coloring
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quirky default button coloring


  • Subject: Re: quirky default button coloring
  • From: Daniel Child <email@hidden>
  • Date: Thu, 21 Feb 2008 19:06:17 -0500

You're right it turned out to be a focus issue.

I was looking into FirstResponder (before posting the question but it didn't seem right), but as Ken Ferry pointed out, the issue was actually on my computer: a preference setting where focus moves to all objects, not just text fields. Plus the fact that default-blue shading only goes on PushButtons. The code itself was fine. Thanks.

On Feb 21, 2008, at 4:14 PM, Matt Gray wrote:

I think the blue outline you are seeing is indicating which button has focus at the moment - it is the 'first responder' for the window. Perhaps try changing the first responder (setFirstResponder or something like that, I can't remember exactly). It seems that changing the key equivalent won't change the first responder.

Hope that helps (but I could be way off. ;-) )

_______________________________________________

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


  • Prev by Date: Re: Core Data problems
  • Next by Date: xibs working OK?
  • Previous by thread: Re: quirky default button coloring
  • Next by thread: ObjC 2.0 Class +encodeWithCoder:
  • Index(es):
    • Date
    • Thread