Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quirky default button coloring



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.