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 (Cocoa-dev@lists.apple.com)
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/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]