On Jan 25, 2010, at 4:11 PM, Richard Somers wrote:
I have a preference panel with a NSTextField. The text field automatically gets a focus ring when showing the panel. I only want a focus ring when the user clicks in the text field. How can I do that?
Wire the window's initialFirstResponder outlet to whatever view you want to have focus initially. (If you don't want any view to, you can wire it to the window itself.)
—Jens_______________________________________________ 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 arch...@mail-archive.com